|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
UnknownTypeException.java | - | 66,7% | 50% | 57,1% |
|
1 | /* | |
2 | * Copyright 2004 Ronald Blaschke. | |
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.rblasch.convert.type; | |
17 | ||
18 | import org.rblasch.convert.AbstractRuntimeException; | |
19 | ||
20 | /** | |
21 | * @author Ronald Blaschke | |
22 | */ | |
23 | public class UnknownTypeException extends AbstractRuntimeException { | |
24 | /** | |
25 | * Constructs a new throwable with <code>null</code> as its detail message. | |
26 | * The cause is not initialized, and may subsequently be initialized by a | |
27 | * call to {@link #initCause}. | |
28 | */ | |
29 | 0 | public UnknownTypeException() { |
30 | } | |
31 | ||
32 | /** | |
33 | * Construct a new exception with the specified message. | |
34 | * | |
35 | * @param message The message describing this exception | |
36 | */ | |
37 | 6 | public UnknownTypeException(final String message) { |
38 | 6 | super(message); |
39 | } | |
40 | ||
41 | /** | |
42 | * Construct a new exception with the specified root cause. | |
43 | * | |
44 | * @param cause The root cause of this exception | |
45 | */ | |
46 | 3 | public UnknownTypeException(final Throwable cause) { |
47 | 3 | super(cause); |
48 | } | |
49 | ||
50 | /** | |
51 | * Construct a new exception with the specified message and root cause. | |
52 | * | |
53 | * @param message The message describing this exception | |
54 | * @param cause The root cause of this exception | |
55 | */ | |
56 | 0 | public UnknownTypeException(final String message, final Throwable cause) { |
57 | 0 | super(message, cause); |
58 | } | |
59 | } |
|