org.jasig.portal
Class AuthorizationException

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

public class AuthorizationException
extends PortalException

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

Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
Peter Kharchenko
See Also:
Serialized Form

Constructor Summary
AuthorizationException(String msg)
          Instantiate an AuthorizationException with the given explanatory message.
AuthorizationException(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(String msg, Throwable cause)
          Instantiate an AuthorizationException with an explanatory message and an underlying Throwable cause.
AuthorizationException(Throwable cause)
          Instantiate an AuthorizationException with the given cause.
 
Method Summary
 
Methods inherited from class org.jasig.portal.PortalException
getErrorID, getParameter, getTimestamp, isLogPending, isRefreshable, isReinstantiable, setErrorID, setLogPending, setParameter, 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(Throwable cause)
Instantiate an AuthorizationException with the given cause.

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

AuthorizationException

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

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

AuthorizationException

public AuthorizationException(String msg,
                              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(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


Copyright © 2010 Jasig. All Rights Reserved.