Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adfmf.framework.exception
Class AdfInvocationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.adfmf.framework.exception.AdfInvocationException

All Implemented Interfaces:
java.io.Serializable

public class AdfInvocationException
extends java.lang.Exception

AdfInvocationException is the checked version of AdfInvocationRuntimeException. This duplicates the public getters of AdfInvocationRuntimeException. AdfmfJavaUtilities.invokeDataControlMethod is declared to throw this.

See Also:
AdfInvocationRuntimeException, Serialized Form

Field Summary
static int BEAN_INVOKE_ERROR
          Error Code Value for Bean Invoke Error
static java.lang.String CATEGORY_BEAN
          String constants for Category values for Java bean related exceptions
static java.lang.String CATEGORY_WEBSERVICE
          String constants for Category values for web service related exceptions

 

Constructor Summary
AdfInvocationException(AdfInvocationRuntimeException rtEx)
          AdfInvocationException constructor

 

Method Summary
 java.lang.String getErrorCategory()
          Get error category from the exception object
 int getErrorCode()
          Get error code from the exception object
 java.lang.String getMessage()
          Get message from the exception
 java.lang.String getSeverity()
          Get severity from the exception
 java.lang.String getType()
          Get type of exception
 java.lang.Object toJSON()
          Method to convert AdfInvocationException object into JSON.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

CATEGORY_WEBSERVICE

public static final java.lang.String CATEGORY_WEBSERVICE
String constants for Category values for web service related exceptions
See Also:
Constant Field Values

CATEGORY_BEAN

public static final java.lang.String CATEGORY_BEAN
String constants for Category values for Java bean related exceptions
See Also:
Constant Field Values

BEAN_INVOKE_ERROR

public static final int BEAN_INVOKE_ERROR
Error Code Value for Bean Invoke Error
See Also:
Constant Field Values

Constructor Detail

AdfInvocationException

public AdfInvocationException(AdfInvocationRuntimeException rtEx)
AdfInvocationException constructor
Parameters:
rtEx - AdfInvocationRuntimeException object used to create AdfInvocationException exception

Method Detail

getMessage

public java.lang.String getMessage()
Get message from the exception
Overrides:
getMessage in class java.lang.Throwable
Returns:
message

getSeverity

public java.lang.String getSeverity()
Get severity from the exception
Returns:
severity, eg. AdfException.INFO, AdfException.WARNING, AdfException.ERROR, ..

getType

public java.lang.String getType()
Get type of exception
Returns:
Exception type class name - exceptionClassName.class.getName())

getErrorCategory

public java.lang.String getErrorCategory()
Get error category from the exception object
Returns:
error category

getErrorCode

public int getErrorCode()
Get error code from the exception object
Returns:
error code

toJSON

public java.lang.Object toJSON()
                        throws java.lang.Exception
Method to convert AdfInvocationException object into JSON.
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.