|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| TestFailedException.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 | /** | |
| 2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
| 3 | * terms of the GNU General Public License as published by the Free Software | |
| 4 | * Foundation; either version 2, or (at your option) any later version. | |
| 5 | */ | |
| 6 | ||
| 7 | package jtr.test; | |
| 8 | ||
| 9 | /** | |
| 10 | * This exception is thrown when condition occurred. | |
| 11 | * | |
| 12 | * @author frusso | |
| 13 | * @version 4.0 | |
| 14 | * @since 1.0 | |
| 15 | */ | |
| 16 | public class TestFailedException extends Exception { | |
| 17 | ||
| 18 | private static final long serialVersionUID = -7838467345810794891L; | |
| 19 | ||
| 20 | /** | |
| 21 | * Constructs an exception without a message. | |
| 22 | */ | |
| 23 | 0 | public TestFailedException() { |
| 24 | 0 | super(); |
| 25 | } | |
| 26 | ||
| 27 | /** | |
| 28 | * Constructs an exception with a detailed message. | |
| 29 | * | |
| 30 | * @param message | |
| 31 | * The message associated with the exception. | |
| 32 | */ | |
| 33 | 0 | public TestFailedException(String message) { |
| 34 | 0 | super(message); |
| 35 | } | |
| 36 | ||
| 37 | /** | |
| 38 | * Constructs an exception with both a detailed message and a cause. | |
| 39 | * @param message | |
| 40 | * @param root | |
| 41 | */ | |
| 42 | 0 | public TestFailedException(String message, Throwable root) { |
| 43 | 0 | super(message, root); |
| 44 | } | |
| 45 | } |
|
||||||||||