public class FileUploadException extends Exception
Constructor and Description |
---|
FileUploadException()
Constructs a new
FileUploadException without message. |
FileUploadException(String msg)
Constructs a new
FileUploadException with specified detail
message. |
FileUploadException(String msg,
Throwable cause)
Creates a new
FileUploadException with the given
detail message and cause. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
void |
printStackTrace(PrintStream stream)
Prints this throwable and its backtrace to the specified print stream.
|
void |
printStackTrace(PrintWriter writer)
Prints this throwable and its backtrace to the specified
print writer.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public FileUploadException()
FileUploadException
without message.public FileUploadException(String msg)
FileUploadException
with specified detail
message.msg
- the error message.public FileUploadException(String msg, Throwable cause)
FileUploadException
with the given
detail message and cause.msg
- The exceptions detail message.cause
- The exceptions cause.public void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- PrintStream
to use for outputpublic void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- PrintWriter
to use for outputCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.