Package hudson
Class AbortException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- hudson.AbortException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EnvVarsFilterException
public class AbortException extends IOException
Signals a failure where the error was anticipated and diagnosed. When this exception is caught, the stack trace will not be printed, and the build will be marked as a failure.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbortException()
AbortException(String message)
When this exception is caught, the specified message will be reported.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AbortException
public AbortException()
-
AbortException
public AbortException(String message)
When this exception is caught, the specified message will be reported.- Since:
- 1.298
-
-