Package com.opencloud.slee.mlet.ant
Class NonFatalBuildException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.tools.ant.BuildException
-
- com.opencloud.slee.mlet.ant.NonFatalBuildException
-
- All Implemented Interfaces:
Serializable
public class NonFatalBuildException extends org.apache.tools.ant.BuildException
This exception is an extension of
BuildException
used to indicate a handled error as occurred. It is thrown during the execution of ant tasks to signify an error has occurred, but that the error shouldn’t cause the remainder of the ant task to fail. TheRhinoManagementAntTask
class will catch or re-throwNonFatalBuildException
depending on thefailOnError
variable. If set, theNonFatalBuildException
will be re-thrown as aBuildException
. Otherwise it will be caught and an error message displayed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonFatalBuildException(String message)
NonFatalBuildException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.tools.ant.BuildException
getException, getLocation, setLocation, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-