public class FileNotFoundException extends GroupDocsViewerException
Represents the the exception that throws when file or directory was not found.
Constructor and Description |
---|
FileNotFoundException(Path path)
Initializes a new instance of the
FileNotFoundException class with a specified error message. |
FileNotFoundException(String message)
Initializes a new instance of the
FileNotFoundException class with a specified error message. |
FileNotFoundException(String messageTemplate,
Object... params)
Initializes a new instance of the
FileNotFoundException class with a specified error message. |
FileNotFoundException(String message,
Throwable throwable)
Initializes a new instance of the
FileNotFoundException class with a specified error message. |
FileNotFoundException(Throwable cause)
Instantiates a new instance of the
FileNotFoundException class. |
toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public FileNotFoundException(Path path)
Initializes a new instance of the FileNotFoundException
class with a specified error message.
path
- The path of file that does not existpublic FileNotFoundException(String message)
Initializes a new instance of the FileNotFoundException
class with a specified error message.
message
- The message that describes the error.public FileNotFoundException(String messageTemplate, Object... params)
Initializes a new instance of the FileNotFoundException
class with a specified error message.
messageTemplate
- The message that describes the error.params
- The params which will be set into error message.public FileNotFoundException(String message, Throwable throwable)
Initializes a new instance of the FileNotFoundException
class with a specified error message.
message
- The message.throwable
- The throwable.public FileNotFoundException(Throwable cause)
FileNotFoundException
class.cause
- the cause