hudson
Class AbortException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by hudson.AbortException
All Implemented Interfaces:
Serializable

public final 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 Summary
AbortException()
           
AbortException(String message)
          When this exception is caught, the specified message will be reported.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbortException

public AbortException()

AbortException

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

Since:
1.298


Copyright © 2004-2013. All Rights Reserved.