|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| UnknownAssignmentPolicyException.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.assigner; | |
| 8 | ||
| 9 | /** | |
| 10 | * This exception is thrown when an <code>IAssignmentPolicyFactory</code> is | |
| 11 | * requested to instantiate an unknown <code>IAssignmentPolicy</code> | |
| 12 | * implementation | |
| 13 | * | |
| 14 | * @author Francesco Russo (frusso@dev.java.net) | |
| 15 | * @version 4.0 | |
| 16 | * @since 1.0 | |
| 17 | */ | |
| 18 | public class UnknownAssignmentPolicyException extends Exception { | |
| 19 | /** | |
| 20 | * | |
| 21 | */ | |
| 22 | private static final long serialVersionUID = 3669041448945973764L; | |
| 23 | ||
| 24 | /** | |
| 25 | * Constructs an UnknownAssignmentPolicyException without a message. | |
| 26 | */ | |
| 27 | 0 | public UnknownAssignmentPolicyException() { |
| 28 | 0 | super(); |
| 29 | } | |
| 30 | ||
| 31 | /** | |
| 32 | * Constructs an UnknownAssignmentPolicyException with a detailed message. | |
| 33 | * | |
| 34 | * @param message | |
| 35 | * The message associated with the exception. | |
| 36 | */ | |
| 37 | 0 | public UnknownAssignmentPolicyException(String message) { |
| 38 | 0 | super(message); |
| 39 | } | |
| 40 | ||
| 41 | /** | |
| 42 | * Constructs an UnknownAssignmentPolicyException with a detailed message | |
| 43 | * and a root cause. | |
| 44 | * | |
| 45 | * @param message | |
| 46 | * String The message associated with the exception. | |
| 47 | * @param root | |
| 48 | * Throwable The root cause. | |
| 49 | */ | |
| 50 | 0 | public UnknownAssignmentPolicyException(String message, Throwable root) { |
| 51 | 0 | super(message, root); |
| 52 | } | |
| 53 | ||
| 54 | } |
|
||||||||||