Package org.altlinux.jabbix
Class JabbixException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.altlinux.jabbix.JabbixException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
JabbixProtocolException,NoSuchMetricException,UnknownCommandException
public class JabbixException extends java.lang.ExceptionAn exception indicating the general 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 JabbixException(java.lang.String msg)Creates an exception object with the specified message.JabbixException(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
-
JabbixException
public JabbixException(java.lang.String msg)
Creates an exception object with the specified message.- Parameters:
msg- the exception comment
-
JabbixException
public JabbixException(java.lang.Throwable t)
Creates an exception object with the specified cause.- Parameters:
t- the exception cause
-
-