com.aspose.email

com.aspose.email

Class FileAccessViolationException

All Implemented Interfaces:
Serializable
public class FileAccessViolationException
extends com.aspose.email.ms.System.IO.IOException

This exception wile be thrown when the file open and locked by another caller.

See Also:
Serialized Form

Constructor Summary
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, RuntimeException 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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

    • Constructor Detail

      • FileAccessViolationException

        public FileAccessViolationException()

        Initializes a new instance of the class with default error message.

      • FileAccessViolationException

        public FileAccessViolationException(String message)

        Initializes a new instance of the class with a specified error message.

        Parameters:
        message - Error message.
      • FileAccessViolationException

        public FileAccessViolationException(String message,
                                            RuntimeException 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.

        Parameters:
        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.