BEA Systems, Inc.
Class ApplicationException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by weblogic.utils.NestedException
              extended by
All Implemented Interfaces:
Serializable, weblogic.utils.NestedThrowable
Direct Known Subclasses:

public class ApplicationException
extends weblogic.utils.NestedException

See Also:
ApplicationContainer, Serialized Form

Nested Class Summary
Nested classes/interfaces inherited from interface weblogic.utils.NestedThrowable
Field Summary
Fields inherited from class weblogic.utils.NestedException
Constructor Summary
ApplicationException(Exception e)
ApplicationException(String msg, Throwable nested)
Method Summary
 String getApplicationMessage()
          This is for the purpose of remote clients who get this exception.
 Hashtable getModuleErrors()
 Exception getTargetException(String moduleName)
Methods inherited from class weblogic.utils.NestedException
getMessage, getNested, getNestedException, printStackTrace, printStackTrace, printStackTrace, superPrintStackTrace, superPrintStackTrace, superToString, toString
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ApplicationException(String msg,
                            Throwable nested)


public ApplicationException(Exception e)
Method Detail


public String getApplicationMessage()
This is for the purpose of remote clients who get this exception. It contains the text from getMessage() of the server exception, without the stacktrace which RMI adds when Server.InstrumentStackTraceEnabled is true. (When it is false, getMessage() on client side returns nothing.) This method can be used to get just the getMessage() text, in any case.


public Hashtable getModuleErrors()


public Exception getTargetException(String moduleName)

Documentation is available at
Copyright 2006 BEA Systems Inc.