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:
Serializable
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.
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Error class for EntireX XML/SOAP Runtime -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the error class part of the XML Runtime error.int
Returns the error code part of the XML Runtime error.Returns the error text part of the XML Runtime error.Debugging method to write this exception text and kind onto stdout.toString()
Returns the complete error information as string
Format: Error-class Error-code Error-text DetailMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
XMLRUNTIME_CLASS
public static final int XMLRUNTIME_CLASSError class for EntireX XML/SOAP Runtime- See Also:
-
-
Method Details
-
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
Debugging method to write this exception text and kind onto stdout.- Overrides:
getMessage
in classThrowable
- Returns:
- String The string representation of this exception.
-
toString
Returns the complete error information as string
Format: Error-class Error-code Error-text Detail
-