01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14: * License for the specific language governing permissions and limitations under
15: * the License.
16: */
17:
18: package org.apache.harmony.tools.jarsigner;
19:
20: /**
21: * Class representing the exceptions specific for jarsigner.
22: */
23: public class JarSignerException extends Exception {
24: /**
25: * serial version UID.
26: */
27: private static final long serialVersionUID = 5012429301200382392L;
28:
29: /**
30: * Default constructor.
31: */
32: public JarSignerException() {
33: super ();
34: }
35:
36: /**
37: * @param msg -
38: * exception message to print
39: */
40: public JarSignerException(String msg) {
41: super (msg);
42: }
43:
44: /**
45: * @param msg -
46: * exception message to print
47: * @param cause -
48: * throwable that caused this exception to be thrown
49: */
50: public JarSignerException(String msg, Throwable cause) {
51: super (msg, cause);
52: }
53:
54: /**
55: * @param cause -
56: * throwable that caused this exception to be thrown
57: */
58: public JarSignerException(Throwable cause) {
59: super(cause);
60: }
61:
62: }
|