Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | package gdi1sokoban.exceptions; |
2 | |||
3 | /*============================================================================*/ |
||
4 | |||
5 | /** |
||
6 | * Exception that is thrown whenever a method's parameter falls out of the scope |
||
7 | * of allowed values |
||
8 | * |
||
9 | * @author Steven Arzt, Oren Avni, Guido Roessling |
||
10 | * @version 1.0 |
||
11 | */ |
||
12 | public class InvalidOperationException extends Exception { |
||
13 | |||
14 | /* ======================================================================== */ |
||
15 | |||
16 | private static final long serialVersionUID = 1L; |
||
17 | |||
18 | /* ======================================================================== */ |
||
19 | |||
20 | /** |
||
21 | * Creates a new instance of the InvalidOperationException class |
||
22 | * |
||
23 | * @param errorMessage |
||
24 | * A string description of the reason why this operation is |
||
25 | * invalid |
||
26 | */ |
||
27 | |||
28 | public InvalidOperationException(final String errorMessage) { |
||
29 | super(errorMessage); |
||
30 | } |
||
31 | |||
32 | /* ======================================================================== */ |
||
33 | |||
34 | } |
||
35 | |||
36 | /* ============================================================================ */ |