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:
- 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 |
static String |
ERROR_TAG
The textual string indicating the error code of the exception in
accordance with the Zabbix protocol. |
Method Summary |
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 |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ERROR_TAG
public static String ERROR_TAG
- The textual string indicating the error code of the exception in
accordance with the Zabbix protocol.
JabbixProtocolException
public JabbixProtocolException(String msg)
- Creates an exception object with the specified message.
- Parameters:
msg
- the exception comment
JabbixProtocolException
public JabbixProtocolException(Throwable t)
- Creates an exception object with the specified cause.
- Parameters:
t
- the exception cause
getErrorTag
public 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