Class RunFailureException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RunErrorException

    public class RunFailureException
    extends java.lang.Exception
    Signals a failure of a sub build run by the Invoker Plugin. This can be caused by an unsuccessful pre-/post-build script or a failure of the forked Maven build itself.
    Version:
    $Id: RunFailureException.java 1199475 2011-11-08 21:51:13Z olamy $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      The serial version identifier for this class.
      private java.lang.String type
      The type of the build failure.
    • Constructor Summary

      Constructors 
      Constructor Description
      RunFailureException​(java.lang.String message, java.lang.String type)
      Creates a new exception with the specified detail message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getType()
      Returns the type of build failure.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The serial version identifier for this class.
        See Also:
        Constant Field Values
      • type

        private final java.lang.String type
        The type of the build failure.
    • Constructor Detail

      • RunFailureException

        public RunFailureException​(java.lang.String message,
                                   java.lang.String type)
        Creates a new exception with the specified detail message.
        Parameters:
        message - The detail message, may be null.
        type - The type of build failure, may not be null.
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns the type of build failure.
        Returns:
        The type of build failure, never null.