org.jboss.testharness
Class ExpectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.testharness.ExpectedException
- All Implemented Interfaces:
- Serializable
public class ExpectedException
- extends RuntimeException
Thrown if an exception was expected, but non occurred
- Author:
- Pete Muir
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExpectedException
public ExpectedException()
ExpectedException
public ExpectedException(String message,
Throwable cause)
ExpectedException
public ExpectedException(String message)
ExpectedException
public ExpectedException(Throwable cause)
Copyright © 2009-2010. All Rights Reserved.