Class BuildException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jdrupes.builder.api.BuildException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs during the build. Terminates the
current build when thrown.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBuildException(String message) Instantiates a new build exception.BuildException(String message, Throwable cause) Instantiates a new build exception.BuildException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Instantiates a new build exception.BuildException(Throwable cause) Instantiates a new build exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BuildException
public BuildException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Instantiates a new build exception.- Parameters:
message- the messagecause- the causeenableSuppression- the enable suppressionwritableStackTrace- the writable stack trace
-
BuildException
Instantiates a new build exception.- Parameters:
message- the messagecause- the cause
-
BuildException
Instantiates a new build exception.- Parameters:
message- the message
-
BuildException
Instantiates a new build exception.- Parameters:
cause- the cause
-