站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

BenignError (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


org.jboss.util
Class BenignError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.jboss.util.NestedError
              extended byorg.jboss.util.BenignError
All Implemented Interfaces:
NestedThrowable, Serializable

public class BenignError
extends NestedError

Thrown to indicate to an encapsulated try/catch block that something has happened and it was not harmfull.

Version:
$Revision: 1.1 $
Author:
Jason Dillon
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable
NestedThrowable.Util
 
Field Summary
 
Fields inherited from class org.jboss.util.NestedError
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
BenignError()
          Construct a BenignError with no detail.
BenignError(String msg)
          Construct a BenignError with the specified detail message.
BenignError(String msg, Throwable nested)
          Construct a BenignError with the specified detail message and nested Throwable.
BenignError(Throwable nested)
          Construct a BenignError with the specified nested Throwable.
 
Methods inherited from class org.jboss.util.NestedError
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BenignError

public BenignError(String msg)
Construct a BenignError with the specified detail message.

Parameters:
msg - Detail message.

BenignError

public BenignError(String msg,
                   Throwable nested)
Construct a BenignError with the specified detail message and nested Throwable.

Parameters:
msg - Detail message.
nested - Nested Throwable.

BenignError

public BenignError(Throwable nested)
Construct a BenignError with the specified nested Throwable.

Parameters:
nested - Nested Throwable.

BenignError

public BenignError()
Construct a BenignError with no detail.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.