common
Class AssertionFailed

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycommon.AssertionFailed
All Implemented Interfaces:
java.io.Serializable

public class AssertionFailed
extends java.lang.RuntimeException

An exception thrown when an assert (from the Assert class) fails

See Also:
Serialized Form

Constructor Summary
AssertionFailed()
          Default constructor Prints the stack trace
AssertionFailed(java.lang.String s)
          Constructor with message Prints the stack trace
 
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

AssertionFailed

public AssertionFailed()
Default constructor Prints the stack trace


AssertionFailed

public AssertionFailed(java.lang.String s)
Constructor with message Prints the stack trace

Parameters:
s - Message thrown with the assertion