javax.rad.ui
Class UIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.rad.ui.UIException
All Implemented Interfaces:
Serializable

public class UIException
extends RuntimeException

The class UIException and its subclasses are a form of RuntimeException that indicates UI specific Exceptions the application might want to catch.

See Also:
RuntimeException, Serialized Form

Constructor Summary
UIException()
          Constructs a new UIException with null as its detail message.
UIException(String pMessage)
          Constructs a new UIException with the specified detail message.
UIException(String pMessage, Throwable pCause)
          Constructs a new UIException with the specified detail message and cause.
UIException(Throwable pCause)
          Constructs a new UIException with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UIException

public UIException()
Constructs a new UIException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


UIException

public UIException(String pMessage)
Constructs a new UIException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
pMessage - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

UIException

public UIException(Throwable pCause)
Constructs a new UIException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, PrivilegedActionException).

Parameters:
pCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

UIException

public UIException(String pMessage,
                   Throwable pCause)
Constructs a new UIException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
pMessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
pCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.