01: /*
02: * $Id: SecurityHeaderException.java,v 1.3 2006/09/29 12:04:48 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: package com.sun.xml.wss.impl;
27:
28: import com.sun.xml.wss.*;
29:
30: /**
31: * A SecurityHeaderException indicates that there is a problem with the
32: * security header elements and subelements.
33: * It indicates that there is an error in the input message to a MessageFilter.
34: * For example, a ds:keyInfo element may not contain a reference to a
35: * security token. If such a reference is missing, then to
36: * indicate this problem, an instance of this Exception would be thrown.
37: *
38: * <p>
39: * This is as opposed to a problem with processing the message itself. An
40: * example would be a MessageFilter that needs to look up data in a
41: * database that is not currently available. A XWSSecurityException would
42: * be thrown in the latter case.
43: *
44: * @author Edwin Goei
45: * @author Manveen Kaur
46: *
47: */
48: public class SecurityHeaderException extends XWSSecurityException {
49: public SecurityHeaderException(String message) {
50: super (message);
51: }
52:
53: public SecurityHeaderException(String message, Throwable cause) {
54: super (message, cause);
55: }
56:
57: public SecurityHeaderException(Throwable cause) {
58: super(cause);
59: }
60: }
|