public class HPSFException extends Exception
This exception is the superclass of all other checked exceptions thrown in this package. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.
Constructor and Description |
---|
HPSFException()
Creates an
HPSFException . |
HPSFException(String msg)
Creates an
HPSFException with a message string. |
HPSFException(String msg,
Throwable reason)
Creates an
HPSFException with a message string and a
reason. |
HPSFException(Throwable reason)
Creates a new
HPSFException with a reason. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getReason()
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HPSFException()
Creates an HPSFException
.
public HPSFException(String msg)
Creates an HPSFException
with a message string.
msg
- The message string.public HPSFException(Throwable reason)
Creates a new HPSFException
with a reason.
reason
- The reason, i.e. a throwable that indirectly
caused this exception.public HPSFException(String msg, Throwable reason)
Creates an HPSFException
with a message string and a
reason.
msg
- The message string.reason
- The reason, i.e. a throwable that indirectly
caused this exception.Copyright © 2020. All rights reserved.