Skip navigation links 
 
oracle.stellent.wcm.client
Class ApplicationException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           oracle.stellent.wcm.common.LocalizedException
oracle.stellent.wcm.common.LocalizedException
               oracle.stellent.wcm.client.ApplicationException
oracle.stellent.wcm.client.ApplicationException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ScriptException
- 
public class ApplicationException
 
- extends LocalizedException
Thrown from the ServletResponse handler to allow servlet authors to handle this error specifically
- See Also:
- Serialized Form
 
  
 
| Method Summary | 
|  java.lang.Throwable | getRootCause()Determine the root cause for printing out to the user.
 | 
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
ApplicationException
public ApplicationException(oracle.stellent.wcm.i18n.locale.LocaleMessage message)
ApplicationException
public ApplicationException(oracle.stellent.wcm.i18n.locale.LocaleMessage message,
                            java.lang.Throwable error)
getRootCause
public java.lang.Throwable getRootCause()
- Determine the root cause for printing out to the user. Will retrieve the parent exception if it is a LocalizedExceptionor the root exception for non-localized errors.
- 
- Returns:
- the root cause, up to the nested LocalizedException or the base exception
 
Skip navigation links 
 
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.