java.io.Serializable
MarkUnsupportedException
, NoPropertySetStreamException
, UnexpectedPropertySetTypeException
, VariantTypeException
public class HPSFException
extends java.lang.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 | Description |
---|---|
HPSFException() |
Creates an
HPSFException . |
HPSFException(java.lang.String msg) |
Creates an
HPSFException with a message string. |
HPSFException(java.lang.String msg,
java.lang.Throwable reason) |
Creates an
HPSFException with a message string and a
reason. |
HPSFException(java.lang.Throwable reason) |
Creates a new
HPSFException with a reason. |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getReason() |
Returns the
Throwable that caused this exception to
be thrown or null if there was no such Throwable . |
public HPSFException()
Creates an HPSFException
.
public HPSFException(java.lang.String msg)
Creates an HPSFException
with a message string.
msg
- The message string.public HPSFException(java.lang.Throwable reason)
Creates a new HPSFException
with a reason.
reason
- The reason, i.e. a throwable that indirectly
caused this exception.public HPSFException(java.lang.String msg, java.lang.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 2018 The Apache Software Foundation or its licensors, as applicable.