org.apache.commons.test
Class TestException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.commons.test.TestException
All Implemented Interfaces:
java.io.Serializable

public class TestException
extends java.lang.RuntimeException

A test exception.

Version:
$Revision: 155470 $
See Also:
Serialized Form

Constructor Summary
TestException()
          Creates a test exception.
TestException(java.lang.String message)
          Creates a test exception with a message.
TestException(java.lang.String message, java.lang.Throwable cause)
          Creates a test exception with a message and a nested exception.
TestException(java.lang.Throwable cause)
          Creates a test exception with another nested exception that caused this one.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestException

public TestException()
Creates a test exception.


TestException

public TestException(java.lang.String message)
Creates a test exception with a message.

Parameters:
message - the exception message

TestException

public TestException(java.lang.Throwable cause)
Creates a test exception with another nested exception that caused this one.

Parameters:
cause - the nested exception that caused this one

TestException

public TestException(java.lang.String message,
                     java.lang.Throwable cause)
Creates a test exception with a message and a nested exception.

Parameters:
message - the exception message
cause - the nested exception that caused this one


Copyright © 2004-2007 . All Rights Reserved.