org.jdiagnose
Class DiagnosticException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jdiagnose.exception.NestableException
              extended byorg.jdiagnose.DiagnosticException
All Implemented Interfaces:
Nestable, java.io.Serializable
Direct Known Subclasses:
ConfigException, StoredException

public class DiagnosticException
extends NestableException

A Diagnostic exception. Usually used when a Diagnostic has failed. User: jamie Date: May 29, 2004 Time: 10:32:17 PM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdiagnose.exception.NestableException
delegate
 
Constructor Summary
DiagnosticException()
          Construct an empty exception
DiagnosticException(java.lang.String message)
          Construct an exception with a message
DiagnosticException(java.lang.String message, java.lang.Throwable throwable)
          Construct an exception with a message and nested throwable
DiagnosticException(java.lang.Throwable throwable)
          Construct an exception with a nested throwable.
 
Methods inherited from class org.jdiagnose.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, 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

DiagnosticException

public DiagnosticException()
Construct an empty exception


DiagnosticException

public DiagnosticException(java.lang.String message)
Construct an exception with a message

Parameters:
message - the message

DiagnosticException

public DiagnosticException(java.lang.String message,
                           java.lang.Throwable throwable)
Construct an exception with a message and nested throwable

Parameters:
message - information about this exception
throwable - a nested exception

DiagnosticException

public DiagnosticException(java.lang.Throwable throwable)
Construct an exception with a nested throwable. The nested throwables exception's message is used as this exceptions message.

Parameters:
throwable - a nested exception


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.