1 /*
2  * reserved comment block
3  * DO NOT REMOVE OR ALTER!
4  */
5 /**
6  * Licensed to the Apache Software Foundation (ASF) under one
7  * or more contributor license agreements. See the NOTICE file
8  * distributed with this work for additional information
9  * regarding copyright ownership. The ASF licenses this file
10  * to you under the Apache License, Version 2.0 (the
11  * "License"); you may not use this file except in compliance
12  * with the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing,
17  * software distributed under the License is distributed on an
18  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19  * KIND, either express or implied. See the License for the
20  * specific language governing permissions and limitations
21  * under the License.
22  */
23 package com.sun.org.apache.xml.internal.security.transforms;
24 
25 import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
26 
27 /**
28  *
29  */
30 public class TransformationException extends XMLSecurityException {
31     /**
32      *
33      */
34     private static final long serialVersionUID = 1L;
35 
36     /**
37      * Constructor TransformationException
38      *
39      */
TransformationException()40     public TransformationException() {
41         super();
42     }
43 
TransformationException(Exception ex)44     public TransformationException(Exception ex) {
45         super(ex);
46     }
47 
48     /**
49      * Constructor TransformationException
50      *
51      * @param msgID
52      */
TransformationException(String msgID)53     public TransformationException(String msgID) {
54         super(msgID);
55     }
56 
57     /**
58      * Constructor TransformationException
59      *
60      * @param msgID
61      * @param exArgs
62      */
TransformationException(String msgID, Object exArgs[])63     public TransformationException(String msgID, Object exArgs[]) {
64         super(msgID, exArgs);
65     }
66 
67     /**
68      * Constructor TransformationException
69      *
70      * @param originalException
71      * @param msgID
72      */
TransformationException(Exception originalException, String msgID)73     public TransformationException(Exception originalException, String msgID) {
74         super(originalException, msgID);
75     }
76 
77     @Deprecated
TransformationException(String msgID, Exception originalException)78     public TransformationException(String msgID, Exception originalException) {
79         this(originalException, msgID);
80     }
81 
82     /**
83      * Constructor TransformationException
84      *
85      * @param originalException
86      * @param msgID
87      * @param exArgs
88      */
TransformationException(Exception originalException, String msgID, Object exArgs[])89     public TransformationException(Exception originalException, String msgID, Object exArgs[]) {
90         super(originalException, msgID, exArgs);
91     }
92 
93     @Deprecated
TransformationException(String msgID, Object[] exArgs, Exception originalException)94     public TransformationException(String msgID, Object[] exArgs, Exception originalException) {
95         this(originalException, msgID, exArgs);
96     }
97 }
98