org.jasig.portal
Class AuthorizationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jasig.portal.PortalException
              extended by org.jasig.portal.AuthorizationException
All Implemented Interfaces:
java.io.Serializable

public class AuthorizationException
extends PortalException

This exception informs uPortal that an authorization violation has occured within a channel.

Version:
$Revision: 1.8 $ $Date: 2005/03/07 20:08:59 $
Author:
Peter Kharchenko
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jasig.portal.PortalException
errorID, logPending, parameter, refreshable, reinstantiable, timestamp
 
Constructor Summary
AuthorizationException()
          Deprecated. - use instead a constructor that provides a message or cause.
AuthorizationException(java.lang.String msg)
          Instantiate an AuthorizationException with the given explanatory message.
AuthorizationException(java.lang.String msg, boolean refresh, boolean reinstantiate)
          Instantiate an AuthorizationException with an explanatory message and indicating whether channel refresh and channel reinstantiation are appropriate responses.
AuthorizationException(java.lang.String msg, java.lang.Throwable cause)
          Instantiate an AuthorizationException with an explanatory message and an underlying Throwable cause.
AuthorizationException(java.lang.Throwable cause)
          Instantiate an AuthorizationException with the given cause.
 
Method Summary
 
Methods inherited from class org.jasig.portal.PortalException
allowRefresh, allowReinstantiation, getErrorID, getParameter, getRecordedException, getTimestamp, isLogPending, isRefreshable, isReinstantiable, setErrorID, setLogPending, setParameter, setRecordedException, setRefreshable, setReinstantiable
 
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

AuthorizationException

public AuthorizationException()
Deprecated. - use instead a constructor that provides a message or cause.

Instantiate an AuthorizationException.


AuthorizationException

public AuthorizationException(java.lang.Throwable cause)
Instantiate an AuthorizationException with the given cause.

Parameters:
cause - defines the causing Throwable of the authorization violation.

AuthorizationException

public AuthorizationException(java.lang.String msg)
Instantiate an AuthorizationException with the given explanatory message.

Parameters:
msg - explains the nature of the attempted authorization violation.

AuthorizationException

public AuthorizationException(java.lang.String msg,
                              java.lang.Throwable cause)
Instantiate an AuthorizationException with an explanatory message and an underlying Throwable cause.

Parameters:
msg - explains the nature of the attempted authorization violation.
cause - - an underlying cause of this Exception.

AuthorizationException

public AuthorizationException(java.lang.String msg,
                              boolean refresh,
                              boolean reinstantiate)
Instantiate an AuthorizationException with an explanatory message and indicating whether channel refresh and channel reinstantiation are appropriate responses.

Parameters:
msg - - explanatory message
refresh - - true if refresh is appropriate response
reinstantiate - - true if reinstantiate is appropriate response