Class InvalidParameterTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidParameterTypeException
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidParameterTypeException​(java.lang.String message, java.lang.Class<?> specifiedType)  
      InvalidParameterTypeException​(java.lang.String parameterName, java.lang.Class<?> specifiedType, java.lang.Class<?> expectedType)  
      InvalidParameterTypeException​(java.lang.String message, java.lang.String parameterName, java.lang.Class<?> specifiedType, java.lang.Class<?> expectedType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getExpectedType()  
      java.lang.String getParameterName()  
      java.lang.Class<?> getSpecifiedType()  
      • 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

      • InvalidParameterTypeException

        public InvalidParameterTypeException​(java.lang.String message,
                                             java.lang.Class<?> specifiedType)
      • InvalidParameterTypeException

        public InvalidParameterTypeException​(java.lang.String parameterName,
                                             java.lang.Class<?> specifiedType,
                                             java.lang.Class<?> expectedType)
      • InvalidParameterTypeException

        public InvalidParameterTypeException​(java.lang.String message,
                                             java.lang.String parameterName,
                                             java.lang.Class<?> specifiedType,
                                             java.lang.Class<?> expectedType)
    • Method Detail

      • getSpecifiedType

        public java.lang.Class<?> getSpecifiedType()
        Returns:
        the specifiedType
      • getExpectedType

        public java.lang.Class<?> getExpectedType()
        Returns:
        the expectedType
      • getParameterName

        public java.lang.String getParameterName()
        Returns:
        the parameterName