BEA Systems, Inc.

weblogic.management
Class ApplicationException

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

public class ApplicationException
extends weblogic.utils.NestedException

See Also:
ApplicationContainer, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface weblogic.utils.NestedThrowable
weblogic.utils.NestedThrowable.Util
 
Field Summary
 
Fields inherited from class weblogic.utils.NestedException
nested
 
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

ApplicationException

public ApplicationException(String msg,
                            Throwable nested)

ApplicationException

public ApplicationException(Exception e)
Method Detail

getApplicationMessage

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.


getModuleErrors

public Hashtable getModuleErrors()

getTargetException

public Exception getTargetException(String moduleName)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.