Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.jbo.common.ampool
Class ApplicationPoolException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.jbo.JboException
                  extended byoracle.jbo.common.ampool.ApplicationPoolException

All Implemented Interfaces:
JboMessage, MetaObjectBase, java.io.Serializable

public class ApplicationPoolException
extends JboException
See Also:
Serialized Form

Field Summary

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_VIEW_LINK, TYP_VIEW_OBJECT, TYP_VIEW_ROW, TYP_VIEW_ROW_SET, TYP_VIEW_ROW_SET_ITERATOR

Constructor Summary
ApplicationPoolException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.Object[] params)
ApplicationPoolException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.Object[] params, java.lang.Exception[] excs)

Method Summary
SessionCookie getSessionCookie()
void printStackTrace()
Prints this Throwable and its backtrace to the standard error stream.
void printStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the specified print stream.
void printStackTrace(java.io.PrintWriter s)
Prints this Throwable and its backtrace to the specified print writer.
void setSessionCookie(SessionCookie cookie)

Methods inherited from class oracle.jbo.JboException
addToDetails, addToExceptions, containsException, doEntityToVOMapping, getBaseMessage, getDetailMessage, getDetails, getErrorCode, getErrorParameters, getExceptions, getJboExceptionHelper, getLocalizedBaseMessage, getLocalizedMessage, getMessage, getProductCode, getResourceClass, getResourceName, getSource, getTypeNameFromId, hasPeerExceptions, isAppendCodes, isLocalizable, needsEntityToVOMapping, 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

Constructor Detail

ApplicationPoolException

public ApplicationPoolException(java.lang.Class resBundleClass,
                                java.lang.String errorCode,
                                java.lang.Object[] params)

ApplicationPoolException

public ApplicationPoolException(java.lang.Class resBundleClass,
                                java.lang.String errorCode,
                                java.lang.Object[] params,
                                java.lang.Exception[] excs)

Method Detail

printStackTrace

public void printStackTrace()
Description copied from class: JboException
Prints this Throwable and its backtrace to the standard error stream. This method prints a stack trace for this Throwable object on the error output stream that is the value of the field System.err. The first line of output contains the result of the Throwable.toString() method for this object. Remaining lines represent data previously recorded by the method Throwable.fillInStackTrace(). The format of this information depends on the implementation, but the following example may be regarded as typical:
 java.lang.NullPointerException
         at MyClass.mash(MyClass.java:9)
         at MyClass.crunch(MyClass.java:6)
         at MyClass.main(MyClass.java:3)
 
This example was produced by running the program:
 
 class MyClass {
 
     public static void main(String[] argv) {
         crunch(null);
     }
     static void crunch(int[] a) {
         mash(a);
     }

     static void mash(int[] b) {
         System.out.println(b[0]);
     }
 }
 
Overrides:
printStackTrace in class JboException
See Also:
"java.lang.System#err"

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Description copied from class: JboException
Prints this Throwable and its backtrace to the specified print stream.
Overrides:
printStackTrace in class JboException

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Description copied from class: JboException
Prints this Throwable and its backtrace to the specified print writer.
Overrides:
printStackTrace in class JboException

setSessionCookie

public void setSessionCookie(SessionCookie cookie)

getSessionCookie

public SessionCookie getSessionCookie()

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


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