Package org.apache.tapestry5.json.exceptions

## Class JSONTypeMismatchException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.tapestry5.json.exceptions.JSONTypeMismatchException

- All Implemented Interfaces:
    `java.io.Serializable`

      public class JSONTypeMismatchException
      extends java.lang.RuntimeException

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JSONTypeMismatchException​(java.lang.String location, JSONType requiredType, java.lang.Class<? extends java.lang.Object> invalidClass)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Class<? extends java.lang.Object>` | `getInvalidClass()` |
    `java.lang.String` | `getLocation()` |
    `JSONType` | `getRequiredType()` |

    - ### 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 Detail

    - #### JSONTypeMismatchException

          public JSONTypeMismatchException​(java.lang.String location,
                                           JSONType requiredType,
                                           java.lang.Class<? extends java.lang.Object> invalidClass)

  - ### Method Detail

    - #### getLocation

          public java.lang.String getLocation()

    - #### getRequiredType

          public JSONType getRequiredType()

    - #### getInvalidClass

          public java.lang.Class<? extends java.lang.Object> getInvalidClass()