|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
InvalidIniFormatException.java | - | 100% | 100% | 100% |
|
1 | /* | |
2 | * Copyright 2005 [ini4j] Development Team | |
3 | * | |
4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | ||
17 | package org.ini4j; | |
18 | ||
19 | import java.io.IOException; | |
20 | ||
21 | public class InvalidIniFormatException extends IOException | |
22 | { | |
23 | /** | |
24 | * Példány képzés adott üzenettel. | |
25 | * | |
26 | * Ez a konstruktor rendszerint új exception generálására használatos, amikor is | |
27 | * valamely feltétel ellenőrzése hibát jelez. | |
28 | * @param message hiba szöveges megnevezése | |
29 | */ | |
30 | 11 | public InvalidIniFormatException(String message) |
31 | { | |
32 | 11 | super(message); |
33 | } | |
34 | ||
35 | /** | |
36 | * Példány képzés adott kiváltó okkal. | |
37 | * | |
38 | * Ez a konstruktor minden további szöveges magyarázat nélkül egy exception tovább adására | |
39 | * szolgál. | |
40 | * @param cause a hibát kiváltó exception | |
41 | */ | |
42 | 6 | public InvalidIniFormatException(Throwable cause) |
43 | { | |
44 | 6 | super(); |
45 | 6 | initCause(cause); |
46 | } | |
47 | } |
|