uk.org.ogsadai.exception
Class DAIFileWriteAuthorizationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.exception.DAIAuthorizationException
                          |
                          +--uk.org.ogsadai.exception.DAIFileWriteAuthorizationException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class DAIFileWriteAuthorizationException
extends DAIAuthorizationException

Authorization exception thrown by a user is not authorized to write a file or directory.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DAIFileWriteAuthorizationException(java.lang.String userCredentials, java.io.File file)
          Constructs a file write authorization exception.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values
Constructor Detail

DAIFileWriteAuthorizationException

public DAIFileWriteAuthorizationException(java.lang.String userCredentials,
                                          java.io.File file)
Constructs a file write authorization exception.

Parameters:
userCredentials - User credentials
file - File or directory which cannot be written.