com.carrotsearch.ant.tasks.junit4.events.mirrors
Class FailureMirror
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
public class FailureMirror
- extends java.lang.Object
A type-safe mirror of Failure.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailureMirror
public FailureMirror(Failure failure)
getMessage
public java.lang.String getMessage()
getThrowableString
public java.lang.String getThrowableString()
getDescription
public Description getDescription()
getTrace
public java.lang.String getTrace()
getThrowable
public java.lang.Throwable getThrowable()
throws java.lang.ClassNotFoundException,
java.io.IOException
- Try to deserialize the failure's cause. Context class loader is used
for class lookup. May cause side effects (class loading, static blocks, etc.)
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
isAssumptionViolation
public boolean isAssumptionViolation()
isAssertionViolation
public boolean isAssertionViolation()
isErrorViolation
public boolean isErrorViolation()
getThrowableClass
public java.lang.String getThrowableClass()
Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.