com.aspose.email
Class FileCorruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aspose.email.FileCorruptedException
All Implemented Interfaces:
Serializable

public class FileCorruptedException
extends RuntimeException

Exception that is thrown during file reading, when the file appears to be corrupted and impossible to read.

See Also:
Serialized Form

Constructor Summary
FileCorruptedException()
           Initializes a new instance of the FileCorruptedException class.
FileCorruptedException(String message)
           Initializes a new instance of the FileCorruptedException class with a specified error message.
FileCorruptedException(String message, RuntimeException inner)
           Initializes a new instance of the FileCorruptedException class with a specified error message.
 
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

FileCorruptedException

public FileCorruptedException()

Initializes a new instance of the FileCorruptedException class.


FileCorruptedException

public FileCorruptedException(String message)

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

Parameters:
message - A message that describes the error.

FileCorruptedException

public FileCorruptedException(String message,
                              RuntimeException inner)

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

Parameters:
message - A message that describes the error.
inner - The exception causing the current exception.


Copyright (c) 2002-2012 Aspose Pty Ltd. All Rights Reserved.