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, toString
public SnmpTrapHelperException(String message)
message
- The message to be associated with the exception.public String getMessage()
getMessage
in class Throwable
public void printStackTrace(PrintStream ps)
printStackTrace
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter pw)
printStackTrace
in class Throwable
pw
- The print writer to which the stack trace should be printed.Copyright © 2021. All rights reserved.