Class AgentTerminationException

All Implemented Interfaces:
Serializable

public class AgentTerminationException extends RuntimeException
Thrown to terminate the work/duty cycle of an Agent.
See Also:
  • Field Details

  • Constructor Details

    • AgentTerminationException

      public AgentTerminationException()
      Default constructor.
    • AgentTerminationException

      public AgentTerminationException(String message)
      Create an exception with the given message.
      Parameters:
      message - to assign.
    • AgentTerminationException

      public AgentTerminationException(String message, Throwable cause)
      Create an exception with the given message and a cause.
      Parameters:
      message - to assign.
      cause - of the error.
    • AgentTerminationException

      public AgentTerminationException(Throwable cause)
      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.