intarsys runtime library

de.intarsys.tools.exception
Class KnownReason

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.intarsys.tools.exception.KnownReason
All Implemented Interfaces:
Serializable

public class KnownReason
extends RuntimeException

An exception that may be used to indicate that an exceptional condition is "expected" in the sense that you will need no further tools to investigate the reason, such as a stack trace.

Such exceptions may be a timeout or a user initiated cancel.

In conjunction with ExceptionTools you can search an exception chain for "known reasons".

See Also:
Serialized Form

Constructor Summary
KnownReason()
           
KnownReason(String message)
           
KnownReason(String message, Throwable cause)
           
KnownReason(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KnownReason

public KnownReason()

KnownReason

public KnownReason(String message)

KnownReason

public KnownReason(String message,
                   Throwable cause)

KnownReason

public KnownReason(Throwable cause)

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.