Class FileUploadBase.InvalidContentTypeException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    FileUploadBase

    public static class FileUploadBase.InvalidContentTypeException
    extends FileUploadException
    Thrown to indicate that the request is not a multipart request.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidContentTypeException()
      Constructs a InvalidContentTypeException with no detail message.
      InvalidContentTypeException​(java.lang.String message)
      Constructs an InvalidContentTypeException with the specified detail message.
      InvalidContentTypeException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs an InvalidContentTypeException with the specified detail message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidContentTypeException

        public InvalidContentTypeException()
        Constructs a InvalidContentTypeException with no detail message.
      • InvalidContentTypeException

        public InvalidContentTypeException​(java.lang.String message)
        Constructs an InvalidContentTypeException with the specified detail message.
        Parameters:
        message - The detail message.
      • InvalidContentTypeException

        public InvalidContentTypeException​(java.lang.String msg,
                                           java.lang.Throwable cause)
        Constructs an InvalidContentTypeException with the specified detail message and cause.
        Parameters:
        msg - The detail message.
        cause - the original cause
        Since:
        1.3.1