Package com.softwareag.entirex.xml.rt
Class XMLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- 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
Fields Modifier and Type Field Description static int
XMLRUNTIME_CLASS
Error class for EntireX XML/SOAP Runtime
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
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 classjava.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 classjava.lang.Throwable
- Returns:
- The complete error information.
-
-