Klasse CheckMojoException

Alle implementierten Schnittstellen:
Serializable

class CheckMojoException extends MavanagaiataMojoException
Exception type thrown during repository checks
Seit:
0.8.0
Autor:
Sebastian Staudt
Siehe auch:
  • Felddetails

  • Konstruktordetails

    • CheckMojoException

      CheckMojoException(CheckMojoException.Type type, String... args)
      Creates a new exception for the given check failure type
      Parameter:
      type - The type of failure
      args - The arguments to integrate into the error message
  • Methodendetails

    • getMessageForType

      private static String getMessageForType(CheckMojoException.Type type, String... args)
      Returns a message for the given type and (optional) arguments
      Parameter:
      type - The type of exception
      args - 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 Klasse MavanagaiataMojoException
      Gibt zurück:
      true if this is a graceful error