xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch
Class XArchSerializeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.uci.isr.xarch.XArchSerializeException
All Implemented Interfaces:
Serializable

public class XArchSerializeException
extends Exception

This exception is thrown when serializing an xArch-based document to a persistent representation fails. In general, the chained exception (e.g., from the real serializer) contains the actual failure data.

Author:
Eric M. Dashofy edashofy@ics.uci.edu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
XArchSerializeException()
          Create a new xArch serialization exception with no explanation and no chained exception.
XArchSerializeException(String description)
          Create a new xArch serialization exception with the given explanation
XArchSerializeException(String description, Throwable t)
          Create a new xArch serialization exception based on an explanation and the given error that caused this exception.
XArchSerializeException(Throwable t)
          Create a new xArch serialization exception based on the given error that caused this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XArchSerializeException

public XArchSerializeException()
Create a new xArch serialization exception with no explanation and no chained exception.


XArchSerializeException

public XArchSerializeException(String description)
Create a new xArch serialization exception with the given explanation

Parameters:
description - Explanation for the serialization failure.

XArchSerializeException

public XArchSerializeException(Throwable t)
Create a new xArch serialization exception based on the given error that caused this exception.

Parameters:
t - The underlying error that caused this exception.

XArchSerializeException

public XArchSerializeException(String description,
                               Throwable t)
Create a new xArch serialization exception based on an explanation and the given error that caused this exception.

Parameters:
description - Explanation for the serialization failure.
t - The underlying error that caused this exception.

xArch/xADL 2.0 Data Binding Library