se.entitymanager.logic.file
Class FileRenameFailedException

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

public class FileRenameFailedException
extends java.lang.Exception

An Exception to indicate that renaming of a file failed.

See Also:
Serialized Form

Field Summary
private  java.lang.String reason
          The reason for why file renaming failed.
 
Constructor Summary
protected FileRenameFailedException(java.lang.String reason)
          Constructs an Exception that indicates, that renaming of a file failed for a special reason.
 
Method Summary
 java.lang.String getReason()
          Returns the reason for why file renaming 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 renaming failed.

Constructor Detail

FileRenameFailedException

protected FileRenameFailedException(java.lang.String reason)
Constructs an Exception that indicates, that renaming 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 renaming failed.

Returns:
the reason