org.jdiagnose
Class DiagnosticAssertionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jdiagnose.exception.NestableRuntimeException
                  extended byorg.jdiagnose.DiagnosticAssertionException
All Implemented Interfaces:
Nestable, java.io.Serializable

public class DiagnosticAssertionException
extends NestableRuntimeException

Used by DiagnosticUnit's assert* methods to indicate that an Assertion 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.NestableRuntimeException
delegate
 
Constructor Summary
DiagnosticAssertionException()
          Construct an empty exception
DiagnosticAssertionException(java.lang.String message)
          Construct an exception with a message
DiagnosticAssertionException(java.lang.String message, java.lang.Throwable throwable)
          Construct an exception with a message and nested throwable
DiagnosticAssertionException(java.lang.Throwable throwable)
          Construct an exception with a nested throwable.
 
Methods inherited from class org.jdiagnose.exception.NestableRuntimeException
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

DiagnosticAssertionException

public DiagnosticAssertionException()
Construct an empty exception


DiagnosticAssertionException

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

Parameters:
message - the message

DiagnosticAssertionException

public DiagnosticAssertionException(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

DiagnosticAssertionException

public DiagnosticAssertionException(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.