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:
    `Serializable`

      public class JSONTypeMismatchException
      extends RuntimeException

  See Also:
    Serialized Form

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Class<? extends Object>` | `getInvalidClass()` |
    `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​(String location,
                                           JSONType requiredType,
                                           Class<? extends Object> invalidClass)

  - ### Method Detail

    - #### getLocation

          public String getLocation()

    - #### getRequiredType

          public JSONType getRequiredType()

    - #### getInvalidClass

          public Class<? extends Object> getInvalidClass()