01: /* Copyright 2001, 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.security;
07:
08: import org.jasig.portal.PortalException;
09:
10: /**
11: * <p>An exception representing a Portal security problem.</p>
12: *
13: * @author Andrew Newman, newman-andy@yale.edu
14: * @version $Revision: 35418 $ $Date: 2005-03-07 13:09:07 -0700 (Mon, 07 Mar 2005) $
15: */
16: public class PortalSecurityException extends PortalException {
17:
18: /**
19: * Instantiate a bare PortalSecurityException.
20: * @deprecated instead use a more informative constructor
21: */
22: public PortalSecurityException() {
23: super ();
24: }
25:
26: /**
27: * Instantiate a PortalSecurityException with the given cause.
28: * @param cause Throwable that caused the error condition
29: */
30: public PortalSecurityException(Throwable cause) {
31: super (cause);
32: }
33:
34: /**
35: * Instantiate a PortalSecurityException with the given message.
36: * @param message information about the error condition
37: */
38: public PortalSecurityException(String message) {
39: super (message);
40: }
41:
42: /**
43: * Instantiate a PortalSecurityException with the given message and
44: * underlying cause
45: * @param message information about the error condition
46: * @param cause underlying cause of error condition
47: */
48: public PortalSecurityException(String message, Throwable cause) {
49: super(message, cause);
50: }
51: }
|