Class FileUploadException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable cause
      The exceptions cause.
      private static long serialVersionUID
      Serial version UID, being used, if the exception is serialized.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileUploadException()
      Constructs a new FileUploadException without message.
      FileUploadException​(java.lang.String msg)
      Constructs a new FileUploadException with specified detail message.
      FileUploadException​(java.lang.String msg, java.lang.Throwable cause)
      Creates a new FileUploadException with the given detail message and cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      void printStackTrace​(java.io.PrintStream stream)
      Prints this throwable and its backtrace to the specified print stream.
      void printStackTrace​(java.io.PrintWriter writer)
      Prints this throwable and its backtrace to the specified print writer.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, 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
        Serial version UID, being used, if the exception is serialized.
        See Also:
        Constant Field Values
      • cause

        private final java.lang.Throwable cause
        The exceptions cause. We overwrite the cause of the super class, which isn't available in Java 1.3.
    • Constructor Detail

      • FileUploadException

        public FileUploadException()
        Constructs a new FileUploadException without message.
      • FileUploadException

        public FileUploadException​(java.lang.String msg)
        Constructs a new FileUploadException with specified detail message.
        Parameters:
        msg - the error message.
      • FileUploadException

        public FileUploadException​(java.lang.String msg,
                                   java.lang.Throwable cause)
        Creates a new FileUploadException with the given detail message and cause.
        Parameters:
        msg - The exceptions detail message.
        cause - The exceptions cause.
    • Method Detail

      • printStackTrace

        public void printStackTrace​(java.io.PrintStream stream)
        Prints this throwable and its backtrace to the specified print stream.
        Overrides:
        printStackTrace in class java.lang.Throwable
        Parameters:
        stream - PrintStream to use for output
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter writer)
        Prints this throwable and its backtrace to the specified print writer.
        Overrides:
        printStackTrace in class java.lang.Throwable
        Parameters:
        writer - PrintWriter to use for output
      • getCause

        public java.lang.Throwable getCause()
        Overrides:
        getCause in class java.lang.Throwable