se.entitymanager.logic.file
Class FileDeletionFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by se.entitymanager.logic.file.FileDeletionFailedException
All Implemented Interfaces:
java.io.Serializable

public class FileDeletionFailedException
extends java.lang.Exception

An Exception to indicate that deletion of a file failed.

See Also:
Serialized Form

Field Summary
private  java.lang.String reason
          The reason for why file deletion failed.
 
Constructor Summary
protected FileDeletionFailedException(java.lang.String reason)
          Constructs an Exception that indicates, that deletion of a file failed for a special reason.
 
Method Summary
 java.lang.String getReason()
          Returns the reason for why file deletion failed.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reason

private java.lang.String reason
The reason for why file deletion failed.

Constructor Detail

FileDeletionFailedException

protected FileDeletionFailedException(java.lang.String reason)
Constructs an Exception that indicates, that deletion of a file failed for a special reason.

Parameters:
reason - the reason
Method Detail

getReason

public java.lang.String getReason()
Returns the reason for why file deletion failed.

Returns:
the reason