se.entitymanager.logic.file
Class FilePasteFailedException

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

public class FilePasteFailedException
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 FilePasteFailedException(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

FilePasteFailedException

protected FilePasteFailedException(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