Class ConvertParameterException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class ConvertParameterException
    extends JaxRsException
    Deprecated.
    Will be removed in next minor release.
    Thrown if a value for an instance field or a parameter for a constructor, a resource method or a bean setter could not be instantiated.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static ConvertParameterException object​(java.lang.Class<?> paramType, java.lang.Object unparseableValue, java.lang.Throwable cause)
      Deprecated.
      Throws a message, that the given String value could not be converted to a primitive.
      static ConvertParameterException primitive​(java.lang.Class<?> paramType, java.lang.String unparseableValue, java.lang.Throwable cause)
      Deprecated.
      Throws a message, that the given String value could not be converted to a primitive.
      • 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
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConvertParameterException

        private ConvertParameterException​(java.lang.String message)
        Deprecated.
        Parameters:
        message -
      • ConvertParameterException

        private ConvertParameterException​(java.lang.String message,
                                          java.lang.Throwable cause)
        Deprecated.
        Parameters:
        message -
        cause -
      • ConvertParameterException

        private ConvertParameterException​(java.lang.Throwable cause)
        Deprecated.
        Parameters:
        cause -
    • Method Detail

      • object

        public static ConvertParameterException object​(java.lang.Class<?> paramType,
                                                       java.lang.Object unparseableValue,
                                                       java.lang.Throwable cause)
                                                throws ConvertParameterException
        Deprecated.
        Throws a message, that the given String value could not be converted to a primitive.
        Parameters:
        paramType -
        unparseableValue -
        cause -
        Returns:
        (static the created ConvertParameterException for the compiler)
        Throws:
        ConvertParameterException
      • primitive

        public static ConvertParameterException primitive​(java.lang.Class<?> paramType,
                                                          java.lang.String unparseableValue,
                                                          java.lang.Throwable cause)
                                                   throws ConvertParameterException
        Deprecated.
        Throws a message, that the given String value could not be converted to a primitive.
        Parameters:
        paramType -
        unparseableValue -
        cause -
        Returns:
        (static the created ConvertParameterException for the compiler)
        Throws:
        ConvertParameterException