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 and Description
    `JSONTypeMismatchException(String location, JSONType requiredType, Class<? extends Object> invalidClass)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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()

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.