|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opennms.protocols.snmp.SnmpBadConversionException
Constructed when the library is unable to covert a value to another.
SnmpIPAddress.convertToIpAddress()
,
Serialized FormField Summary | |
private java.lang.Exception |
m_chained
The original exception that caused this exception to be generated. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
SnmpBadConversionException()
The exception constructor |
|
SnmpBadConversionException(java.lang.Exception reason)
Constructs a new exception which is based upon a previous exception. |
|
SnmpBadConversionException(java.lang.String why)
The exception constructor. |
|
SnmpBadConversionException(java.lang.String why,
java.lang.Exception reason)
The exception constructor |
Method Summary | |
void |
printStackTrace()
Prints the stack trace of the exception. |
void |
printStackTrace(java.io.PrintStream stream)
Prints the stack trace of the exception. |
void |
printStackTrace(java.io.PrintWriter writer)
Prints the stack trace of the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.lang.Exception m_chained
Constructor Detail |
public SnmpBadConversionException(java.lang.String why)
why
- The message for the exception.public SnmpBadConversionException(java.lang.String why, java.lang.Exception reason)
why
- The message for the exception.reason
- The original exception that caused the problempublic SnmpBadConversionException()
public SnmpBadConversionException(java.lang.Exception reason)
reason
- The original exceptionMethod Detail |
public void printStackTrace()
public void printStackTrace(java.io.PrintWriter writer)
writer
- The stream to writer the stack trace onto.public void printStackTrace(java.io.PrintStream stream)
stream
- The stream to writer the stack trace onto.
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |