summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/patterns/NonExhaustiveMatch.java
blob: aaa7e89e6f03690c76515f18d5e0596cf9e7f4b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package bjc.utils.patterns;

/**
 * Exception thrown when a non-exhaustive match happens.
 * @author Ben Culkin
 *
 */
public class NonExhaustiveMatch extends Exception {
	private static final long serialVersionUID = 3892904574888418544L;

	/**
	 * Create a new non-exhaustive match.
	 * 
	 * @param message The message for the exception.
	 */
	public NonExhaustiveMatch(String message) {
		super(message);
	}

}