Class UnknownCommandException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnknownCommandException
    extends JabbixException
    An exception indicating that the passed command is unknown to the agent.
    Author:
    Paul Wolneykien
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ERROR_TAG
      The textual string indicating the error code of the exception in accordance with the Zabbix protocol.
    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownCommandException​(java.lang.String msg)
      Creates an exception object with the specified message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorTag()
      Returns the textual string indicating the error code of the exception in accordance with the Zabbix protocol.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ERROR_TAG

        public static java.lang.String ERROR_TAG
        The textual string indicating the error code of the exception in accordance with the Zabbix protocol.
    • Constructor Detail

      • UnknownCommandException

        public UnknownCommandException​(java.lang.String msg)
        Creates an exception object with the specified message.
        Parameters:
        msg - the exception comment
    • Method Detail

      • getErrorTag

        public java.lang.String getErrorTag()
        Returns the textual string indicating the error code of the exception in accordance with the Zabbix protocol.
        Overrides:
        getErrorTag in class JabbixException
        Returns:
        the textual string indicating the error code