Package org.agrona.concurrent
Class AgentTerminationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.agrona.concurrent.AgentTerminationException
- All Implemented Interfaces:
Serializable
Thrown to terminate the work/duty cycle of an
Agent
.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.AgentTerminationException
(String message) Create an exception with the given message.AgentTerminationException
(String message, Throwable cause) Create an exception with the given message and a cause.AgentTerminationException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Create an exception with the given message and a cause.Create an exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AgentTerminationException
public AgentTerminationException()Default constructor. -
AgentTerminationException
Create an exception with the given message.- Parameters:
message
- to assign.
-
AgentTerminationException
Create an exception with the given message and a cause.- Parameters:
message
- to assign.cause
- of the error.
-
AgentTerminationException
Create an exception with the given cause.- Parameters:
cause
- of the error.
-
AgentTerminationException
public AgentTerminationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Create an exception with the given message and a cause.- Parameters:
message
- to assign.cause
- of the error.enableSuppression
- true to enable suppression.writableStackTrace
- true to enable writing a full stack trace.
-