com.fatwire.agent
Class AccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.fatwire.agent.AgentException
              extended by com.fatwire.agent.AccessDeniedException
All Implemented Interfaces:
java.io.Serializable

public class AccessDeniedException
extends AgentException

This exception is thrown when an access to the requested object is denied by the system. For example IItem.getInputStream throws AccessDeniedException for file system connector implementation when read access to the file was revoked for the current process (after the item was constructed).

See Also:
Serialized Form

Constructor Summary
AccessDeniedException()
           
AccessDeniedException(java.lang.String message)
           
AccessDeniedException(java.lang.String message, java.lang.Throwable cause)
           
AccessDeniedException(java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

AccessDeniedException

public AccessDeniedException()
See Also:
Exception.Exception()

AccessDeniedException

public AccessDeniedException(java.lang.String message,
                             java.lang.Throwable cause)
Parameters:
message - error reason.
See Also:
Exception.Exception(java.lang.String, java.lang.Throwable)

AccessDeniedException

public AccessDeniedException(java.lang.String message)
Parameters:
message - error reason.
See Also:
Exception.Exception(java.lang.String)

AccessDeniedException

public AccessDeniedException(java.lang.Throwable cause)
See Also:
Exception.Exception(java.lang.Throwable)