|
|||||||||
| 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
public class SnmpBadConversionException
Constructed when the library is unable to covert a value to another.
SnmpIPAddress.convertToIpAddress(),
Serialized Form| Constructor Summary | |
|---|---|
SnmpBadConversionException()
The exception constructor |
|
SnmpBadConversionException(Exception reason)
Constructs a new exception which is based upon a previous exception. |
|
SnmpBadConversionException(String why)
The exception constructor. |
|
SnmpBadConversionException(String why,
Exception reason)
The exception constructor |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
Prints the stack trace of the exception. |
void |
printStackTrace(PrintStream stream)
Prints the stack trace of the exception. |
void |
printStackTrace(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 |
| Constructor Detail |
|---|
public SnmpBadConversionException(String why)
why - The message for the exception.
public SnmpBadConversionException(String why,
Exception reason)
why - The message for the exception.reason - The original exception that caused the problempublic SnmpBadConversionException()
public SnmpBadConversionException(Exception reason)
reason - The original exception| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter writer)
printStackTrace in class Throwablewriter - The stream to writer the stack trace onto.public void printStackTrace(PrintStream stream)
printStackTrace in class Throwablestream - The stream to writer the stack trace onto.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||