Class JPropertyIncorrectType

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.jproperties.JPropertyException
com.io7m.jproperties.JPropertyIncorrectType
All Implemented Interfaces:
java.io.Serializable

public final class JPropertyIncorrectType
extends JPropertyException

The type of exceptions raised upon accessing a property that is not of the expected type.

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    JPropertyIncorrectType​(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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JPropertyIncorrectType

      public JPropertyIncorrectType​(java.lang.String message, java.lang.Throwable cause)
      Construct an exception with the given message and cause.
      Parameters:
      cause - The cause
      message - The message