com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class FileAccessViolationException

  • All Implemented Interfaces:
    Serializable


    public class FileAccessViolationException
    extends com.aspose.ms.System.IO.IOException

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

    See Also:
    Serialized Form
    • 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,
                                    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.

        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.