tyrex.util
Class WrappedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--tyrex.util.WrappedException
- All Implemented Interfaces:
- java.io.Serializable
- public class WrappedException
- extends java.lang.Exception
Reports an exception with an underlying exception.
- Version:
- $Revision: 1.2 $ $Date: 2000/09/08 23:06:38 $
- Author:
- Assaf Arkin
- See Also:
- Serialized Form
Constructor Summary |
WrappedException()
Constructs a new exception. |
WrappedException(java.lang.String message)
Constructs a new exception with the specified message. |
WrappedException(java.lang.String message,
java.lang.Throwable except)
Constructs a new exception with the specified message and
trigger exception. |
WrappedException(java.lang.Throwable except)
Constructs a new exception with the specified trigger exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WrappedException
public WrappedException()
- Constructs a new exception.
WrappedException
public WrappedException(java.lang.String message)
- Constructs a new exception with the specified message.
- Parameters:
message
- The exception message
WrappedException
public WrappedException(java.lang.String message,
java.lang.Throwable except)
- Constructs a new exception with the specified message and
trigger exception.
- Parameters:
message
- The exception messageexcept
- The exception that triggered this exception
WrappedException
public WrappedException(java.lang.Throwable except)
- Constructs a new exception with the specified trigger exception.
- Parameters:
except
- The exception that triggered this exception
getException
public final java.lang.Throwable getException()
- Return the exception that triggered this exception.
May be null.
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream print)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter print)
- Overrides:
printStackTrace
in class java.lang.Throwable
Intalio Inc. (C) 1999-2001. All rights reserved.