uk.org.ogsadai.client.toolkit.exception
Class AuthorisationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.client.toolkit.exception.DAIException
                    |
                    +--uk.org.ogsadai.client.toolkit.exception.UserException
                          |
                          +--uk.org.ogsadai.client.toolkit.exception.AuthorisationException
All Implemented Interfaces:
java.io.Serializable

public class AuthorisationException
extends UserException

Exception thrown when there is a problem with authorisation.

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

Constructor Summary
AuthorisationException(java.lang.String message, org.apache.log4j.Logger logger)
          Constructs an exception
AuthorisationException(java.lang.String message, java.lang.Throwable e, org.apache.log4j.Logger logger)
          Constructor.
 
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

AuthorisationException

public AuthorisationException(java.lang.String message,
                              java.lang.Throwable e,
                              org.apache.log4j.Logger logger)
Constructor.

Parameters:
message - error message describing the error
e - exception returned by the service
logger - logger to use for error logging

AuthorisationException

public AuthorisationException(java.lang.String message,
                              org.apache.log4j.Logger logger)
Constructs an exception

Parameters:
message - error message
logger - logger at which to log the creation of this exception