|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReflectionError | Line # 22 | 2 | 0% | 2 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Tests | |||
| 1 | /* | |
| 2 | * Created on Nov 16, 2006 | |
| 3 | * | |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | |
| 5 | * the License. You may obtain a copy of the License at | |
| 6 | * | |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 | * | |
| 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | |
| 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | |
| 11 | * specific language governing permissions and limitations under the License. | |
| 12 | * | |
| 13 | * Copyright @2006-2009 the original author or authors. | |
| 14 | */ | |
| 15 | package org.fest.reflect.exception; | |
| 16 | ||
| 17 | /** | |
| 18 | * Understands an error raised when using reflection. | |
| 19 | * | |
| 20 | * @author Alex Ruiz | |
| 21 | */ | |
| 22 | public final class ReflectionError extends RuntimeException { | |
| 23 | ||
| 24 | private static final long serialVersionUID = 1L; | |
| 25 | ||
| 26 | /** | |
| 27 | * Creates a new <code>{@link ReflectionError}</code>. | |
| 28 | * @param message the detail message. | |
| 29 | */ | |
| 30 | 9 |
public ReflectionError(String message) { |
| 31 | 9 | super(message); |
| 32 | } | |
| 33 | ||
| 34 | /** | |
| 35 | * Creates a new <code>{@link ReflectionError}</code>. | |
| 36 | * @param message the detail message. | |
| 37 | * @param cause the cause of the exception. | |
| 38 | */ | |
| 39 | 5 |
public ReflectionError(String message, Throwable cause) { |
| 40 | 5 | super(message, cause); |
| 41 | } | |
| 42 | } | |
|
||||||||||||