Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.client
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.stellent.wcm.common.LocalizedException
              extended by 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

Constructor Summary
ApplicationException(oracle.stellent.wcm.i18n.locale.LocaleMessage message)
           
ApplicationException(oracle.stellent.wcm.i18n.locale.LocaleMessage message, java.lang.Throwable error)
           

 

Method Summary
 java.lang.Throwable getRootCause()
          Determine the root cause for printing out to the user.

 

Methods inherited from class oracle.stellent.wcm.common.LocalizedException
getLocaleMessage, getLocalizedMessage

 

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

 

Constructor Detail

ApplicationException

public ApplicationException(oracle.stellent.wcm.i18n.locale.LocaleMessage message)

ApplicationException

public ApplicationException(oracle.stellent.wcm.i18n.locale.LocaleMessage message,
                            java.lang.Throwable error)

Method Detail

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 LocalizedException or the root exception for non-localized errors.
Returns:
the root cause, up to the nested LocalizedException or the base exception

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.