org.ourgrid.gridmachine.exception
Class FilePermissionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ourgrid.common.exception.OurgridException
              extended by org.ourgrid.gridmachine.exception.FilePermissionException
All Implemented Interfaces:
java.io.Serializable

public class FilePermissionException
extends OurgridException

Exception to be thrown when it is not possible to read a file

See Also:
Serialized Form

Constructor Summary
FilePermissionException(java.lang.String filePath)
           
FilePermissionException(java.lang.String filePath, java.lang.Throwable detail)
           
FilePermissionException(java.lang.Throwable detail)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the exception message.
 
Methods inherited from class org.ourgrid.common.exception.OurgridException
getStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilePermissionException

public FilePermissionException(java.lang.String filePath)

FilePermissionException

public FilePermissionException(java.lang.String filePath,
                               java.lang.Throwable detail)

FilePermissionException

public FilePermissionException(java.lang.Throwable detail)
Method Detail

getMessage

public java.lang.String getMessage()
Returns the exception message.

Overrides:
getMessage in class OurgridException
Returns:
The message of this excpetion