tyrex.util

Class WrappedException

public class WrappedException extends Exception

Reports an exception with an underlying exception.

Version: $Revision: 1.2 $ $Date: 2000/09/08 23:06:38 $

Author: Assaf Arkin

Constructor Summary
WrappedException()
Constructs a new exception.
WrappedException(String message)
Constructs a new exception with the specified message.
WrappedException(String message, Throwable except)
Constructs a new exception with the specified message and trigger exception.
WrappedException(Throwable except)
Constructs a new exception with the specified trigger exception.
Method Summary
ThrowablegetException()
Return the exception that triggered this exception.
voidprintStackTrace()
voidprintStackTrace(PrintStream print)
voidprintStackTrace(PrintWriter print)

Constructor Detail

WrappedException

public WrappedException()
Constructs a new exception.

WrappedException

public WrappedException(String message)
Constructs a new exception with the specified message.

Parameters: message The exception message

WrappedException

public WrappedException(String message, Throwable except)
Constructs a new exception with the specified message and trigger exception.

Parameters: message The exception message except The exception that triggered this exception

WrappedException

public WrappedException(Throwable except)
Constructs a new exception with the specified trigger exception.

Parameters: except The exception that triggered this exception

Method Detail

getException

public final Throwable getException()
Return the exception that triggered this exception. May be null.

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream print)

printStackTrace

public void printStackTrace(PrintWriter print)
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.