View Javadoc

1   /*
2    * Copyright 2005,2009 Ivan SZKIBA
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  package org.ini4j;
17  
18  import java.io.IOException;
19  
20  public class InvalidIniFormatException extends IOException
21  {
22      private static final long serialVersionUID = 6108557026268262787L;
23  
24      /**
25       * Példány képzés adott üzenettel.
26       *
27       * Ez a konstruktor rendszerint új exception generálására használatos, amikor is
28       * valamely feltétel ellen?rzése hibát jelez.
29       * @param message hiba szöveges megnevez?se
30       */
31      public InvalidIniFormatException(String message)
32      {
33          super(message);
34      }
35  
36      /**
37       * Példány képzés adott kiváltó okkal.
38       *
39       * Ez a konstruktor minden további szöveges magyarázat nélkúl egy exception tovább adására
40       * szolgál.
41       * @param cause a hibát kiváltó exception
42       */
43      public InvalidIniFormatException(Throwable cause)
44      {
45          super();
46          initCause(cause);
47      }
48  }