Package com.io7m.jproperties
Class JPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.jproperties.JPropertyException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
JPropertyIncorrectType,JPropertyNonexistent
public class JPropertyException
extends java.lang.Exception
The type of exceptions raised upon property access errors.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description JPropertyException(java.lang.String message)Construct an exception with the given message.JPropertyException(java.lang.String message, java.lang.Throwable cause)Construct an exception with the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
JPropertyException
public JPropertyException(java.lang.String message, java.lang.Throwable cause)Construct an exception with the given message and cause.- Parameters:
cause- The causemessage- The message
-
JPropertyException
public JPropertyException(java.lang.String message)Construct an exception with the given message.- Parameters:
message- The message
-