public class AdfInvocationException
extends Exception
AdfInvocationRuntimeException
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
BEAN_INVOKE_ERROR
Error Code Value for Bean Invoke Error
|
static String |
CATEGORY_BEAN
String constants for Category values for Java bean related exceptions
|
static String |
CATEGORY_WEBSERVICE
String constants for Category values for web service related exceptions
|
Constructor and Description |
---|
AdfInvocationException(AdfInvocationRuntimeException rtEx)
AdfInvocationException constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCategory()
Get error category from the exception object
|
int |
getErrorCode()
Get error code from the exception object
|
String |
getMessage()
Get message from the exception
|
String |
getSeverity()
Get severity from the exception
|
String |
getType()
Get type of exception
|
Object |
toJSON()
Method to convert AdfInvocationException object into JSON.
|
public static final String CATEGORY_WEBSERVICE
public static final String CATEGORY_BEAN
public static final int BEAN_INVOKE_ERROR
public AdfInvocationException(AdfInvocationRuntimeException rtEx)
rtEx
- AdfInvocationRuntimeException object used to create
AdfInvocationException exceptionpublic String getMessage()
getMessage
in class Throwable
public String getSeverity()
public String getType()
public String getErrorCategory()
public int getErrorCode()
public Object toJSON() throws Exception
Exception