com.werken.blissed
Class BlissedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.werken.blissed.BlissedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActivityException, DuplicateStateException, InvalidMotionException

public class BlissedException
extends java.lang.Exception

Base blissed exception.

Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
protected BlissedException()
          Construct.
protected BlissedException(java.lang.String msg)
          Construct with a message.
protected BlissedException(java.lang.Throwable rootCause)
          Construct with a root cause.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Retrieve the localized error message.
 java.lang.String getMessage()
          Retrieve the error message.
 java.lang.Throwable getRootCause()
          Retrieve the root cause.
 boolean hasRootCause()
          Determine if this exceptions wraps another.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlissedException

protected BlissedException()
Construct.

BlissedException

protected BlissedException(java.lang.Throwable rootCause)
Construct with a root cause.
Parameters:
rootCause - The root cause.

BlissedException

protected BlissedException(java.lang.String msg)
Construct with a message.
Parameters:
msg - The error message.
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Retrieve the root cause.
Returns:
The root cause, or null if this exception does not wrap another.
See Also:
hasRootCause()

hasRootCause

public boolean hasRootCause()
Determine if this exceptions wraps another.
Returns:
true if this exception wraps another exception, otherwise false.

getMessage

public java.lang.String getMessage()
Retrieve the error message.
Overrides:
getMessage in class java.lang.Throwable
Returns:
The error message.

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Retrieve the localized error message.
Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
The localized error message.


Copyright © 2002-2002 The Werken Company. All Rights Reserved.