public class ApiException extends BaseException
Constructor and Description |
---|
ApiException()
Constructs an
ApiException object, which contains information about API exceptions. |
ApiException(BridgeException exception)
Constructs an
ApiException object that embeds another exception. |
ApiException(java.lang.String message)
Constructs an
ApiException object, which captures a string containing information
about the exception. |
ApiException(java.lang.String message,
java.lang.Throwable exception)
Constructs an
ApiException object that contains an embedded exception,
and which captures a string containing information about the exception. |
ApiException(java.lang.Throwable exception)
Constructs an
ApiException object that embeds another exception. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXml()
Returning XML representation representing the exception.
|
int |
ordinal()
Returning id of exception to facilitate unmarshaling XML representation
back into Java object
|
public ApiException()
ApiException
object, which contains information about API exceptions.public ApiException(java.lang.String message)
ApiException
object, which captures a string containing information
about the exception.message
- A string containing information about the exception.public ApiException(java.lang.Throwable exception)
ApiException
object that embeds another exception.exception
- The embedded exception.public ApiException(java.lang.String message, java.lang.Throwable exception)
ApiException
object that contains an embedded exception,
and which captures a string containing information about the exception.message
- A string containing information about the exception.exception
- The embedded exception.public ApiException(BridgeException exception)
ApiException
object that embeds another exception.exception
- The embedded exception.public int ordinal()
ordinal
in class BaseException
int
public java.lang.String getXml()
getXml
in class BaseException
String