Class AgentException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AgentState.TransientAgentException, InvalidLicenseException

public class AgentException extends ActiveViamException
Base exception for all Sink and source AgentException.

Author:
ActiveViam
See Also:
  • Constructor Details

    • AgentException

      public AgentException(String msg)
      Constructs a AgentException with the specified detail message.
      Parameters:
      msg - the detail message
    • AgentException

      public AgentException(String msg, Throwable cause)
      Constructs a AgentException with the specified detail message and cause.
      Parameters:
      msg - the detail message
      cause - the cause of the exception.
    • AgentException

      public AgentException(Throwable cause)
      Constructs a AgentException with the specified cause.
      Parameters:
      cause - The cause of the exception.
    • AgentException

      public AgentException(Throwable exception, String messageKey, Object... parameters)
      Constructor.
      Parameters:
      exception - The cause
      messageKey - message template
      parameters - parameters to inject into the message template
    • AgentException

      public AgentException(String messageKey, Object... parameters)
      Constructor.
      Parameters:
      messageKey - message template
      parameters - parameters to inject into the message template