ManagedProcessInterruptedException

Exception indicating that a ManagedProcess was interrupted while waiting or executing.

This wraps an InterruptedException to provide additional context such as where in the process lifecycle the interruption occurred and which process was involved.

Author

Nikan Radan

Constructors

Link copied to clipboard
public void ManagedProcessInterruptedException(String where, String procLongName)
Creates a new ManagedProcessInterruptedException describing where and for which process the interruption occurred.

Properties

Link copied to clipboard
Link copied to clipboard
public final String procLongName
The descriptive long name of the managed process that was interrupted.
Link copied to clipboard
Link copied to clipboard
public final String where
The logical location (e.g., method or phase) where the interruption occurred.

Functions

Link copied to clipboard
public final synchronized void addSuppressed(Throwable exception)
Link copied to clipboard
public synchronized Throwable fillInStackTrace()
Link copied to clipboard
public synchronized Throwable getCause()
Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
Returns the descriptive name of the managed process that was interrupted.
Link copied to clipboard
Link copied to clipboard
public final synchronized Array<Throwable> getSuppressed()
Link copied to clipboard
public String getWhere()
Returns the logical section or method name where the interruption occurred.
Link copied to clipboard
public synchronized Throwable initCause(Throwable cause)
Link copied to clipboard
public void printStackTrace()
Link copied to clipboard
public void setStackTrace(Array<StackTraceElement> stackTrace)
Link copied to clipboard
public String toString()
Link copied to clipboard
public static ManagedProcessInterruptedException withCause(String where, String procLongName, InterruptedException cause)
Creates a new ManagedProcessInterruptedException with an underlying cause.