Klasse CheckMojoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.koraktor.mavanagaiata.mojo.MavanagaiataMojoException
com.github.koraktor.mavanagaiata.mojo.CheckMojoException
- Alle implementierten Schnittstellen:
Serializable
Exception type thrown during repository checks
- Seit:
- 0.8.0
- Autor:
- Sebastian Staudt
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibung(Package privat) static enum
Types of failures -
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungCheckMojoException
(CheckMojoException.Type type, String... args) Creates a new exception for the given check failure type -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprivate static String
getMessageForType
(CheckMojoException.Type type, String... args) Returns a message for the given type and (optional) arguments(Package privat) boolean
Returns whether this exception should lead to a graceful build failureVon Klasse geerbte Methoden com.github.koraktor.mavanagaiata.mojo.MavanagaiataMojoException
create
Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Felddetails
-
type
-
-
Konstruktordetails
-
CheckMojoException
CheckMojoException(CheckMojoException.Type type, String... args) Creates a new exception for the given check failure type- Parameter:
type
- The type of failureargs
- The arguments to integrate into the error message
-
-
Methodendetails
-
getMessageForType
Returns a message for the given type and (optional) arguments- Parameter:
type
- The type of exceptionargs
- The arguments to integrate into the error message- Gibt zurück:
- A formatted exception message
-
isGraceful
boolean isGraceful()Beschreibung aus Klasse kopiert:MavanagaiataMojoException
Returns whether this exception should lead to a graceful build failure- Setzt außer Kraft:
isGraceful
in KlasseMavanagaiataMojoException
- Gibt zurück:
true
if this is a graceful error
-