org.openexi.scomp
Class EXISchemaFactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openexi.scomp.EXISchemaFactoryException
All Implemented Interfaces:
java.io.Serializable

public class EXISchemaFactoryException
extends java.lang.Exception

Any errors encountered during schema compilation are communicated to an application as EXISchemaFactoryException objects.

See Also:
EXISchemaFactoryErrorHandler, Serialized Form
Author:
Dennis Dawson

Field Summary
static int XMLSCHEMA_ERROR
          The underlying XMLSchema parser found an error in the schema.
 
Method Summary
 int getCode()
          Returns a code that represents the type of the exception.
 java.lang.Exception getException()
          Returns an Exception object.
 org.xml.sax.Locator getLocator()
          Returns the locator that is associated with this compilation error.
 java.lang.String getMessage()
          Returns a message that describes the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XMLSCHEMA_ERROR

public static final int XMLSCHEMA_ERROR
The underlying XMLSchema parser found an error in the schema.

See Also:
Constant Field Values
Method Detail

getCode

public int getCode()
Returns a code that represents the type of the exception.

Returns:
error code

getMessage

public java.lang.String getMessage()
Returns a message that describes the exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
error message

getException

public java.lang.Exception getException()
Returns an Exception object.

Returns:
an Exception instance for the current exception.

getLocator

public org.xml.sax.Locator getLocator()
Returns the locator that is associated with this compilation error.

Returns:
a Locator if available, otherwise null