public class FileAccessViolationException
extends IOException
This exception wile be thrown when the file open and locked by another caller.
| Constructor and Description |
|---|
FileAccessViolationException()
Initializes a new instance of the class with default error message.
|
FileAccessViolationException(String message)
Initializes a new instance of the class with a specified error message.
|
FileAccessViolationException(String message,
Throwable innerException)
Initializes a new instance of the Exception class with
a specified error message and a reference to the inner
exception that is the cause of this exception.
|
getHResult, getInnerException, getType, setErrorCode, setHResult, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic FileAccessViolationException()
Initializes a new instance of the class with default error message.
public FileAccessViolationException(String message)
Initializes a new instance of the class with a specified error message.
message - Error message.public FileAccessViolationException(String message, Throwable innerException)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
message - The error message that explains the reason for the exception.innerException - The exception that is the cause of the current exception.
If the innerException parameter is not a NULL reference
(Nothing in Visual Basic), the current exception is raised
in a catch block that handles the inner exception.Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.