org.jboss.testharness
Class ExpectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.testharness.ExpectedException
All Implemented Interfaces:
java.io.Serializable

public class ExpectedException
extends java.lang.RuntimeException

Thrown if an exception was expected, but non occurred

Author:
Pete Muir
See Also:
Serialized Form

Constructor Summary
ExpectedException()
           
ExpectedException(java.lang.String message)
           
ExpectedException(java.lang.String message, java.lang.Throwable cause)
           
ExpectedException(java.lang.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpectedException

public ExpectedException()

ExpectedException

public ExpectedException(java.lang.String message,
                         java.lang.Throwable cause)

ExpectedException

public ExpectedException(java.lang.String message)

ExpectedException

public ExpectedException(java.lang.Throwable cause)


Copyright © 2009. All Rights Reserved.