oracle.cabo.servlet.event
Class PageEventException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.cabo.servlet.event.PageEventException
- All Implemented Interfaces:
- java.io.Serializable, oracle.bali.share.util.WrappingThrowable
- Direct Known Subclasses:
- ErrorTextException, UnhandledEventException
- public class PageEventException
- extends java.lang.Exception
- implements oracle.bali.share.util.WrappingThrowable
Exception for failure of a PageEvent. While an event handler
can throw any exception, PageEventExceptions will serve the
Page and PageEvent - these objects may be necessary to properly
display the error page.
Clients that want the framework to automatically display
an error message should use the ErrorTextException subclass
of this class.
- See Also:
ErrorTextException
, Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PageEventException
public PageEventException(java.lang.String message,
Page page,
PageEvent event)
PageEventException
public PageEventException(java.lang.String message,
Page page,
PageEvent event,
java.lang.Throwable rootCause)
getEvent
public PageEvent getEvent()
getPage
public Page getPage()
getRootCause
public java.lang.Throwable getRootCause()
- Returns the exception that originally caused this
exception to be thrown.
- Specified by:
getRootCause
in interface oracle.bali.share.util.WrappingThrowable
toString
public java.lang.String toString()
- Returns a short description of this exception.
- Overrides:
toString
in class java.lang.Throwable