Package hudson

Class AbortException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    EnvVarsFilterException

    public class AbortException
    extends IOException
    Signals a failure where the error was anticipated and diagnosed. When this exception is caught, the stack trace will not be printed, and the build will be marked as a failure.
    Author:
    Kohsuke Kawaguchi
    See Also:
    Serialized Form
    • Constructor Detail

      • AbortException

        public AbortException()
      • AbortException

        public AbortException​(String message)
        When this exception is caught, the specified message will be reported.
        Since:
        1.298