Class ShallowAnyErrorHandler
java.lang.Object
hudson.model.AbstractDescribableImpl<StatusErrorHandler>
org.jenkinsci.plugins.github.extension.status.StatusErrorHandler
org.jenkinsci.plugins.github.status.err.ShallowAnyErrorHandler
- All Implemented Interfaces:
ExtensionPoint
,Describable<StatusErrorHandler>
,ErrorHandler
Just logs message to the build console and do nothing after it
- Since:
- 1.19.0
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handle
(Exception e, Run<?, ?> run, TaskListener listener) Normally should return true if exception is handled and no other handler should do anything.Methods inherited from class org.jenkinsci.plugins.github.extension.status.StatusErrorHandler
all
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ShallowAnyErrorHandler
@DataBoundConstructor public ShallowAnyErrorHandler()
-
-
Method Details
-
handle
Description copied from interface:ErrorHandler
Normally should return true if exception is handled and no other handler should do anything. If you will return false, the next error handler should try to handle this exception- Parameters:
e
- exception to handle (log, ignore, process, rethrow)run
- run object from the steplistener
- listener object from the step- Returns:
- true as of its terminating handler
-