Klasse MavanagaiataMojoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.koraktor.mavanagaiata.mojo.MavanagaiataMojoException
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
CheckMojoException
A generic exception used to relay an error during mojo execution
- Seit:
- 0.6.0
- Autor:
- Sebastian Staudt
-
Konstruktorübersicht
KonstruktorBeschreibungMavanagaiataMojoException
(String message, Throwable cause) Creates a new exception with the given message and cause -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung(Package privat) static MavanagaiataMojoException
Creates a new exception with the given message an cause(Package privat) boolean
Returns whether this exception should lead to a graceful build failureVon Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Konstruktordetails
-
MavanagaiataMojoException
Creates a new exception with the given message and cause- Parameter:
message
- The message used for the exceptioncause
- The cause for this exception
-
-
Methodendetails
-
create
Creates a new exception with the given message an causeAdditional arguments will be interpolated into the message with
String.format(String, Object...)
.- Parameter:
message
- The message used for the exceptioncause
- The cause for this exceptionargs
- Additional arguments to interpolate into the message- Gibt zurück:
- A
MavanagaiataMojoException
created from the given parameters
-
isGraceful
boolean isGraceful()Returns whether this exception should lead to a graceful build failure- Gibt zurück:
true
if this is a graceful error
-