2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 namespace Mono.Lucene.Net.Index
28 public class FieldReaderException:System.SystemException
30 /// <summary> Constructs a new runtime exception with <code>null</code> as its
31 /// detail message. The cause is not initialized, and may subsequently be
32 /// initialized by a call to {@link #innerException}.
34 public FieldReaderException()
38 /// <summary> Constructs a new runtime exception with the specified cause and a
39 /// detail message of <tt>(cause==null ? null : cause.toString())</tt>
40 /// (which typically contains the class and detail message of
43 /// This constructor is useful for runtime exceptions
44 /// that are little more than wrappers for other throwables.
47 /// <param name="cause">the cause (which is saved for later retrieval by the
48 /// {@link #InnerException()} method). (A <tt>null</tt> value is
49 /// permitted, and indicates that the cause is nonexistent or
54 public FieldReaderException(System.Exception cause):base((cause == null)?null:cause.Message, cause)
58 /// <summary> Constructs a new runtime exception with the specified detail message.
59 /// The cause is not initialized, and may subsequently be initialized by a
60 /// call to {@link #innerException}.
63 /// <param name="message">the detail message. The detail message is saved for
64 /// later retrieval by the {@link #getMessage()} method.
66 public FieldReaderException(System.String message):base(message)
70 /// <summary> Constructs a new runtime exception with the specified detail message and
71 /// cause. <p/>Note that the detail message associated with
72 /// <code>cause</code> is <i>not</i> automatically incorporated in
73 /// this runtime exception's detail message.
76 /// <param name="message">the detail message (which is saved for later retrieval
77 /// by the {@link #getMessage()} method).
79 /// <param name="cause"> the cause (which is saved for later retrieval by the
80 /// {@link #InnerException()} method). (A <tt>null</tt> value is
81 /// permitted, and indicates that the cause is nonexistent or
86 public FieldReaderException(System.String message, System.Exception cause):base(message, cause)