de.ispsoft.jaxme.generator
Class SchemaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.ispsoft.jaxme.generator.SchemaException
All Implemented Interfaces:
java.io.Serializable

public class SchemaException
extends java.lang.Exception

This Exception is thrown by a SchemaReader to indicate structural problems in the input file it parses.

Author:
Jochen Wiedmann
See Also:
Serialized Form

Constructor Summary
SchemaException(java.lang.String pMsg)
          Creates a new SchemaException with the given detail message.
SchemaException(java.lang.String pMsg, java.lang.Exception pException)
          Creates a new SchemaException with the given detail message.
 
Method Summary
 java.lang.Exception getException()
          Returns the hidden exception, if any, or null.
 
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

SchemaException

public SchemaException(java.lang.String pMsg)
Creates a new SchemaException with the given detail message.


SchemaException

public SchemaException(java.lang.String pMsg,
                       java.lang.Exception pException)
Creates a new SchemaException with the given detail message.

Method Detail

getException

public java.lang.Exception getException()

Returns the hidden exception, if any, or null.