当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
UnexpectedThrowable (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.util
Class UnexpectedThrowable
java.lang.Object
java.lang.Throwable
java.lang.Error
org.jboss.util.NestedError
org.jboss.util.UnexpectedThrowable
- All Implemented Interfaces:
- NestedThrowable, Serializable
- public class UnexpectedThrowable
- extends NestedError
Thrown to indicate that a Throwable was caught but was not expected.
This is typical when catching Throwables to handle and rethrow Exceptions
and Errors.
- Version:
- $Revision: 1.1 $
- Author:
- Jason Dillon
- See Also:
- Serialized Form
UnexpectedThrowable
public UnexpectedThrowable(String msg)
- Construct a UnexpectedThrowable with the specified
detail message.
- Parameters:
msg
- Detail message.
UnexpectedThrowable
public UnexpectedThrowable(String msg,
Throwable nested)
- Construct a UnexpectedThrowable with the specified
detail message and nested Throwable.
- Parameters:
msg
- Detail message.nested
- Nested Throwable.
UnexpectedThrowable
public UnexpectedThrowable(Throwable nested)
- Construct a UnexpectedThrowable with the specified
nested Throwable.
- Parameters:
nested
- Nested Throwable.
UnexpectedThrowable
public UnexpectedThrowable()
- Construct a UnexpectedThrowable with no detail.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.