Package org.altlinux.jabbix
Class JabbixProtocolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.altlinux.jabbix.JabbixException
-
- org.altlinux.jabbix.JabbixProtocolException
-
- All Implemented Interfaces:
java.io.Serializable
public class JabbixProtocolException extends JabbixException
An exception indicating the Jabbix-protocol specified unexpected case in a working Jabbix program.- Author:
- Paul Wolneykien
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_TAGThe textual string indicating the error code of the exception in accordance with the Zabbix protocol.
-
Constructor Summary
Constructors Constructor Description JabbixProtocolException(java.lang.String msg)Creates an exception object with the specified message.JabbixProtocolException(java.lang.Throwable t)Creates an exception object with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorTag()Returns the textual string indicating the error code of the exception in accordance with the Zabbix protocol.
-
-
-
Constructor Detail
-
JabbixProtocolException
public JabbixProtocolException(java.lang.String msg)
Creates an exception object with the specified message.- Parameters:
msg- the exception comment
-
JabbixProtocolException
public JabbixProtocolException(java.lang.Throwable t)
Creates an exception object with the specified cause.- Parameters:
t- the exception cause
-
-
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:
getErrorTagin classJabbixException- Returns:
- the textual string indicating the error code
-
-