01: /*
02: * $Id: SAMLException.java,v 1.4 2006/09/29 12:05:06 kumarjayanti Exp $
03: */
04:
05: /*
06: * The contents of this file are subject to the terms
07: * of the Common Development and Distribution License
08: * (the License). You may not use this file except in
09: * compliance with the License.
10: *
11: * You can obtain a copy of the license at
12: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
13: * See the License for the specific language governing
14: * permissions and limitations under the License.
15: *
16: * When distributing Covered Code, include this CDDL
17: * Header Notice in each file and include the License file
18: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
19: * If applicable, add the following below the CDDL Header,
20: * with the fields enclosed by brackets [] replaced by
21: * you own identifying information:
22: * "Portions Copyrighted [year] [name of copyright owner]"
23: *
24: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
25: */
26:
27: package com.sun.xml.wss.saml;
28:
29: /**
30: * This class is an extension point for all SAML related exceptions.
31: */
32: public class SAMLException extends Exception {
33: /**
34: * Create an <code>SAMLException</code> with no message.
35: */
36: public SAMLException() {
37: super ();
38: }
39:
40: /**
41: * Create an <code>SAMLException</code> with a message.
42: *
43: * @param s exception message.
44: */
45: public SAMLException(String s) {
46: super (s);
47: }
48:
49: /**
50: * Create an <code>SAMLException</code>
51: *
52: * @param e the cause
53: */
54: public SAMLException(Throwable e) {
55: super(e);
56: }
57:
58: }
|