org.apache.commons.lang

Class UnhandledException

Implemented Interfaces:
Nestable

public class UnhandledException
extends NestableRuntimeException

Thrown when it is impossible or undesirable to consume or throw a checked exception.

Version:
$Id: UnhandledException.java,v 1.3 2003/08/18 02:22:23 bayard Exp $

Author:
Matthew Hawthorne

Since:
2.0

Field Summary

Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException

delegate

Constructor Summary

UnhandledException(String message, Throwable cause)
Constructs the exception using a message and cause.
UnhandledException(Throwable cause)
Constructs the exception using a cause.

Method Summary

Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

UnhandledException

public UnhandledException(String message,
                          Throwable cause)
Constructs the exception using a message and cause.

Parameters:
message - the message to use
cause - the underlying cause


UnhandledException

public UnhandledException(Throwable cause)
Constructs the exception using a cause.

Parameters:
cause - the underlying cause


Copyright © 2001-2003 - Apache Software Foundation