com.aspose.email
Class FileAccessViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aspose.email.ms.System.SystemException
                  extended by com.aspose.email.ms.System.IO.IOException
                      extended by com.aspose.email.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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.


Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.