BEA Systems, Inc.

weblogic.management
Class ApplicationException

java.lang.Object
  extended by NestedException
      extended by weblogic.management.ApplicationException
Direct Known Subclasses:
InvalidRedeployRequestException

public class ApplicationException
extends NestedException

See Also:
ApplicationContainer

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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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)

Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview
Copyright 2007 BEA Systems Inc.