es.uc3m.it.xbe32
Class XBE32ParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byes.uc3m.it.xbe32.XBE32ParseException
All Implemented Interfaces:
Serializable

public class XBE32ParseException
extends Exception

Exception class for errors occuring while parsing XBE32 Elements.

See Also:
XBE32Parser.parse(), Serialized Form

Constructor Summary
XBE32ParseException(Exception ex)
          Creates a new XBE32ParseException with an encapsulated Exception
XBE32ParseException(String msg)
          Creates a new XBE32ParseException with the specified message
XBE32ParseException(String msg, int id, String name)
          Creates a new XBE32ParseException with the specified message, that occurred while parsing the specified XBE32 Element
 
Method Summary
 Exception getException()
          Returns the encapsulated Exception, if any
 
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

XBE32ParseException

public XBE32ParseException(String msg)
Creates a new XBE32ParseException with the specified message

Parameters:
msg - the error message

XBE32ParseException

public XBE32ParseException(String msg,
                           int id,
                           String name)
Creates a new XBE32ParseException with the specified message, that occurred while parsing the specified XBE32 Element

Parameters:
msg - the error message
id - the identifier of the invalid Element
name - the name of the invalid Element

XBE32ParseException

public XBE32ParseException(Exception ex)
Creates a new XBE32ParseException with an encapsulated Exception

Parameters:
ex - the Exception to be encapsulated
Method Detail

getException

public Exception getException()
Returns the encapsulated Exception, if any

Returns:
the encapsulated Exception