com.softwareag.entirex.xml.rt
Class XMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.softwareag.entirex.xml.rt.XMLException
All Implemented Interfaces:
java.io.Serializable

public class XMLException
extends java.lang.Exception

Class XMLException is a checked exception for all sorts of problems
occurring in the XML/SOAP runtime component. Besides an exception text,
XMLException objects can hold an exception "kind" which describes the
subcomponent in which problems arose.

Exception class thrown by EntireX XML/SOAP Runtime classes.
Use toString() to retrieve the error message including the error class and error code.
Use getMessage() to retrieve the error message only.
Use getErrorClass() to retrieve the error class only.
Use getNumber() to retrieve the error code only.

See Also:
Serialized Form

Field Summary
static int XMLRUNTIME_CLASS
          Error class for EntireX XML/SOAP Runtime
 
Method Summary
 int getErrorClass()
          Returns the error class part of the XML Runtime error.
 int getErrorCode()
          Returns the error code part of the XML Runtime error.
 java.lang.String getErrorText()
          Returns the error text part of the XML Runtime error.
 java.lang.String getMessage()
          Debugging method to write this exception text and kind onto stdout.
 java.lang.String toString()
          Returns the complete error information as string
Format: Error-class Error-code Error-text Detail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XMLRUNTIME_CLASS

public static final int XMLRUNTIME_CLASS
Error class for EntireX XML/SOAP Runtime

See Also:
Constant Field Values
Method Detail

getErrorText

public java.lang.String getErrorText()
Returns the error text part of the XML Runtime error.

Returns:
XML Runtime error text as string.

getErrorCode

public int getErrorCode()
Returns the error code part of the XML Runtime error.

Returns:
XML Runtime error code as int.

getErrorClass

public int getErrorClass()
Returns the error class part of the XML Runtime error.

Returns:
XML Runtime error class as int.

getMessage

public java.lang.String getMessage()
Debugging method to write this exception text and kind onto stdout.

Overrides:
getMessage in class java.lang.Throwable
Returns:
String The string representation of this exception.

toString

public java.lang.String toString()
Returns the complete error information as string
Format: Error-class Error-code Error-text Detail

Overrides:
toString in class java.lang.Throwable
Returns:
The complete error information.