org.apache.ant.antunit
Class AssertionFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.tools.ant.BuildException
                  extended by org.apache.ant.antunit.AssertionFailedException
All Implemented Interfaces:
java.io.Serializable

public class AssertionFailedException
extends org.apache.tools.ant.BuildException

Specialized BuildException thrown by the AssertTask task.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_MESSAGE
           
 
Constructor Summary
AssertionFailedException(java.lang.String message)
           
AssertionFailedException(java.lang.String message, org.apache.tools.ant.Location loc)
           
 
Method Summary
 
Methods inherited from class org.apache.tools.ant.BuildException
getException, getLocation, setLocation, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MESSAGE

public static final java.lang.String DEFAULT_MESSAGE
See Also:
Constant Field Values
Constructor Detail

AssertionFailedException

public AssertionFailedException(java.lang.String message)

AssertionFailedException

public AssertionFailedException(java.lang.String message,
                                org.apache.tools.ant.Location loc)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.