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:
java.io.Serializable
public class AgentTerminationException extends java.lang.RuntimeException
Thrown to terminate the work/duty cycle of anAgent
.- See Also:
Agent
,AgentInvoker
,AgentRunner
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AgentTerminationException()
Default constructor.AgentTerminationException(java.lang.String message)
Create an exception with the given message.AgentTerminationException(java.lang.String message, java.lang.Throwable cause)
Create an exception with the given message and a cause.AgentTerminationException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Create an exception with the given message and a cause.AgentTerminationException(java.lang.Throwable cause)
Create an exception with the given cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AgentTerminationException
public AgentTerminationException()
Default constructor.
-
AgentTerminationException
public AgentTerminationException(java.lang.String message)
Create an exception with the given message.- Parameters:
message
- to assign.
-
AgentTerminationException
public AgentTerminationException(java.lang.String message, java.lang.Throwable cause)
Create an exception with the given message and a cause.- Parameters:
message
- to assign.cause
- of the error.
-
AgentTerminationException
public AgentTerminationException(java.lang.Throwable cause)
Create an exception with the given cause.- Parameters:
cause
- of the error.
-
AgentTerminationException
public AgentTerminationException(java.lang.String message, java.lang.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.
-
-