xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch
Class XArchParseException

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

public class XArchParseException
extends Exception

This exception is thrown when parsing an xArch-based document from a persistent representation fails. In general, the chained exception (e.g., from the real parser) 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
XArchParseException()
          Create a new xArch parsing exception with no explanation and no chained exception.
XArchParseException(String description)
          Create a new xArch parsing exception with the given explanation
XArchParseException(String description, Throwable t)
          Create a new xArch parsing exception based on an explanation and the given error that caused this exception.
XArchParseException(Throwable t)
          Create a new xArch parsing 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

XArchParseException

public XArchParseException()
Create a new xArch parsing exception with no explanation and no chained exception.


XArchParseException

public XArchParseException(String description)
Create a new xArch parsing exception with the given explanation

Parameters:
description - Explanation for the parse failure.

XArchParseException

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

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

XArchParseException

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

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

xArch/xADL 2.0 Data Binding Library