Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.test
Class AssertNullException  view AssertNullException download AssertNullException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.batik.test.TestErrorConditionException
              extended byorg.apache.batik.test.AssertException
                  extended byorg.apache.batik.test.AssertNullException
All Implemented Interfaces:
java.io.Serializable

public class AssertNullException
extends AssertException

Exception which Tests can throw when a specific assertNull fails.

Version:
$Id: AssertNullException.java,v 1.3 2004/08/18 07:16:56 vhardy Exp $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
static java.lang.String ASSERTION_TYPE
           
protected  java.lang.Object cmp
          Objects which should have be equal
protected  java.lang.Object ref
          Objects which should have be equal
 
Fields inherited from class org.apache.batik.test.AssertException
ENTRY_KEY_ASSERTION_TYPE
 
Fields inherited from class org.apache.batik.test.TestErrorConditionException
errorCode
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AssertNullException()
           
 
Method Summary
 void addDescription(TestReport report)
          Requests that the exception populates the TestReport with the relevant information.
 java.lang.String getAssertionType()
          Returns the type of assertion which failed.
 
Methods inherited from class org.apache.batik.test.AssertException
getTestReport
 
Methods inherited from class org.apache.batik.test.TestErrorConditionException
addStackTraceDescription
 
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
 

Field Detail

ASSERTION_TYPE

public static final java.lang.String ASSERTION_TYPE
See Also:
Constant Field Values

ref

protected java.lang.Object ref
Objects which should have be equal


cmp

protected java.lang.Object cmp
Objects which should have be equal

Constructor Detail

AssertNullException

public AssertNullException()
Method Detail

addDescription

public void addDescription(TestReport report)
Requests that the exception populates the TestReport with the relevant information.

Specified by:
addDescription in class AssertException

getAssertionType

public java.lang.String getAssertionType()
Description copied from class: AssertException
Returns the type of assertion which failed. e.g., "assertEquals"

Specified by:
getAssertionType in class AssertException