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

class MavanagaiataMojoException extends Exception
A generic exception used to relay an error during mojo execution
Seit:
0.6.0
Autor:
Sebastian Staudt
  • Konstruktordetails

    • MavanagaiataMojoException

      MavanagaiataMojoException(String message, Throwable cause)
      Creates a new exception with the given message and cause
      Parameter:
      message - The message used for the exception
      cause - The cause for this exception
  • Methodendetails

    • create

      static MavanagaiataMojoException create(String message, Throwable cause, Object... args)
      Creates a new exception with the given message an cause

      Additional arguments will be interpolated into the message with String.format(String, Object...).

      Parameter:
      message - The message used for the exception
      cause - The cause for this exception
      args - 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