Class CantConvertException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spincast.core.exceptions.CantConvertException
All Implemented Interfaces:
Serializable

public class CantConvertException extends RuntimeException
Exception thrown when an element from a JsonObject or from a JsonArray can't be converted to the requested type.
See Also:
  • Constructor Details

    • CantConvertException

      public CantConvertException(String actualType, String invalidTargetType, Object value)
      Constructor
  • Method Details

    • getActualType

      public String getActualType()
    • getInvalidTargetType

      public String getInvalidTargetType()
    • getValue

      public Object getValue()