Class NotTransformableException

All Implemented Interfaces:
Serializable

public class NotTransformableException extends TransformerException
This exception is thrown when a parameter cannot be transformed to a specified target type. It extends the TransformerException class, indicating a specific type of transformation failure.
Since:
3.0.2-SNAPSHOT
See Also:
  • Constructor Details

    • NotTransformableException

      public NotTransformableException(String parameter, Class<?> targetType)
      Construct a new NotTransformableException which indicates that something bad happened while transforming the value.
      Parameters:
      parameter - The dynamic URL parameter value that failed transforming.
      targetType - The class to which the value should be transformed, but isn't suitable for the value.