org.spockframework.runtime
Class WrongExceptionThrownError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.spockframework.runtime.SpockAssertionError
org.spockframework.runtime.WrongExceptionThrownError
- All Implemented Interfaces:
- java.io.Serializable
public class WrongExceptionThrownError
- extends SpockAssertionError
- See Also:
- Serialized Form
Constructor Summary |
WrongExceptionThrownError(java.lang.Class<? extends java.lang.Throwable> expected,
java.lang.Throwable actual)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WrongExceptionThrownError
public WrongExceptionThrownError(java.lang.Class<? extends java.lang.Throwable> expected,
java.lang.Throwable actual)
getExpected
public java.lang.Class<? extends java.lang.Throwable> getExpected()
getActual
public java.lang.Throwable getActual()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Copyright © 2013. All rights reserved