fr.inria.peerunit.test.assertion
Class Failure

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.AssertionError
              extended by fr.inria.peerunit.exception.TestException
                  extended by fr.inria.peerunit.test.assertion.Failure
All Implemented Interfaces:
java.io.Serializable

public class Failure
extends TestException

Author:
sunye
See Also:
Serialized Form

Constructor Summary
Failure()
          Creates a new instance of Failure without detail message.
Failure(java.lang.String msg)
          Constructs an instance of Failure with the specified detail message.
 
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

Failure

public Failure()
Creates a new instance of Failure without detail message.


Failure

public Failure(java.lang.String msg)
Constructs an instance of Failure with the specified detail message.

Parameters:
msg - the detail message.


Copyright © 2010. All Rights Reserved.