KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > schlichtherle > crypto > io > raes > RaesAuthenticationException


1 /*
2  * RaesAuthenticationException.java
3  *
4  * Created on 9. Dezember 2005, 13:31
5  */

6 /*
7  * Copyright 2005 Schlichtherle IT Services
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */

21
22 package de.schlichtherle.crypto.io.raes;
23
24 /**
25  * Thrown to indicate that an RAES file has been tampered with.
26  * This is a subclass of {@link RaesException} to indicate that this
27  * is considered to be an RAES specific issue when accessing the contents
28  * of a file.
29  *
30  * @author Christian Schlichtherle
31  * @version @version@
32  * @since TrueZIP 6.0
33  */

34 public class RaesAuthenticationException extends RaesException {
35     
36     public RaesAuthenticationException() {
37         super("File has been tampered with!");
38     }
39 }
40
Popular Tags