Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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

Constructor Summary
PageEventException(java.lang.String message, Page page, PageEvent event)
           
PageEventException(java.lang.String message, Page page, PageEvent event, java.lang.Throwable rootCause)
           
 
Method Summary
 PageEvent getEvent()
           
 Page getPage()
           
 java.lang.Throwable getRootCause()
          Returns the exception that originally caused this exception to be thrown.
 java.lang.String toString()
          Returns a short description of this exception.
 
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
 

Constructor Detail

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)
Method Detail

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

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.