Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


oracle.adf.model.adapter
Class AdapterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.jbo.JboException
                  extended byoracle.adf.model.adapter.AdapterException

All Implemented Interfaces:
oracle.jbo.common.JboMessage, oracle.jbo.common.MetaObjectBase, java.io.Serializable

public final class AdapterException
extends JboException

AdapterException is thrown from the adapter common runtime layer.

See Also:
Serialized Form

Field Summary
static java.lang.String DCA_PRODUCT_CODE
           

 

Fields inherited from class oracle.jbo.JboException
mHasPeerException

 

Fields inherited from interface oracle.jbo.common.MetaObjectBase
TYP_APP_MODULE, TYP_ATTRIBUTE, TYP_ATTRIBUTE_LIST_WITH_DEF, TYP_COMPONENT_OBJECT, TYP_DEF_ANY, TYP_DEF_APP_MODULE, TYP_DEF_ATTRIBUTE, TYP_DEF_COMPONENT_OBJECT, TYP_DEF_DOMAIN, TYP_DEF_ENTITY_ASSOC, TYP_DEF_ENTITY_OBJECT, TYP_DEF_PACKAGE, TYP_DEF_VIEW_LINK, TYP_DEF_VIEW_OBJECT, TYP_DOMAIN, TYP_ENTITY_ASSOC, TYP_ENTITY_OBJECT, TYP_ENTITY_ROW, TYP_ENTITY_ROW_SET, TYP_ENTITY_ROW_SET_ITERATOR, TYP_ENTITY_USAGE, TYP_PACKAGE, TYP_TRANSACTION, TYP_VALIDATOR_TYPE, TYP_VARIABLE, TYP_VARIABLE_WHERE_CLAUSE, TYP_VIEW_CRITERIA, TYP_VIEW_LINK, TYP_VIEW_OBJECT, TYP_VIEW_ROW, TYP_VIEW_ROW_SET, TYP_VIEW_ROW_SET_ITERATOR

 

Constructor Summary
AdapterException(java.lang.Class resClass, java.lang.String errCode)
          Creates an adapter exception from an error code.
AdapterException(java.lang.Class resClass, java.lang.String errCode, java.lang.Object[] params)
          Creates an adapter exception from an error code that takes parameter values.
AdapterException(java.lang.Throwable cause)
          Creates an exception for another exception as a cause.

 

Method Summary
 java.lang.String getProductCode()
          Returns a message's product code.
 AdapterException setCause(java.lang.Throwable ex)
          Sets the cause exception for what this exception is thrown.

 

Methods inherited from class oracle.jbo.JboException
addToDetails, addToExceptions, containsException, doEntityToVOMapping, getBaseMessage, getDetailMessage, getDetails, getErrorCode, getErrorParameters, getExceptions, getJboExceptionHelper, getLocalizedBaseMessage, getLocalizedMessage, getMessage, getResourceClass, getResourceName, getSource, getTypeNameFromId, hasPeerExceptions, isAppendCodes, isLocalizable, needsEntityToVOMapping, printStackTrace, printStackTrace, printStackTrace, setAppendCodes, setApplicationModule, setDetails, setErrorParameters, setExceptions, setLocaleContext, setNeedsEntityToVOMapping, setSource

 

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

 

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

 

Field Detail

DCA_PRODUCT_CODE

public static final java.lang.String DCA_PRODUCT_CODE
See Also:
Constant Field Values

Constructor Detail

AdapterException

public AdapterException(java.lang.Class resClass,
                        java.lang.String errCode)
Creates an adapter exception from an error code.
Parameters:
resClass - The resource bundle class for the exceptions.
errCode - The error code defined as a key in the reaource bundle.

AdapterException

public AdapterException(java.lang.Class resClass,
                        java.lang.String errCode,
                        java.lang.Object[] params)
Creates an adapter exception from an error code that takes parameter values.
Parameters:
resClass - The resource bundle class for the exceptions.
errCode - The error code defined as a key in the reaource bundle.
params - Parameters passed to the error text.

AdapterException

public AdapterException(java.lang.Throwable cause)
Creates an exception for another exception as a cause.

Method Detail

setCause

public AdapterException setCause(java.lang.Throwable ex)
Sets the cause exception for what this exception is thrown.
Parameters:
ex - The cause exception.

getProductCode

public java.lang.String getProductCode()
Returns a message's product code.
Specified by:
getProductCode in interface oracle.jbo.common.JboMessage
Overrides:
getProductCode in class JboException
Returns:
Returns product code as "DCA".

Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


Copyright © 1997, 2006, Oracle. All rights reserved.