public class SnmpTrapHelperException extends Exception
| Constructor and Description |
|---|
SnmpTrapHelperException(String message)
Construct an SnmpTrapHelperException with the specified message.
|
SnmpTrapHelperException(String message,
Throwable cause)
Construct an SnmpTrapHelperException with the specified message and
cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Get the message associated with this exception.
|
void |
printStackTrace()
Print the stack trace associated with this exception to System.err.
|
void |
printStackTrace(PrintStream ps)
Print the stack trace associated with this exception to the specified
print stream.
|
void |
printStackTrace(PrintWriter pw)
Print the stack trace associated with this exception to the specified
print writer.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic SnmpTrapHelperException(String message)
message - The message to be associated with the exception.public String getMessage()
getMessage in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepw - The print writer to which the stack trace should be printed.Copyright © 2022. All rights reserved.