capture
[rrq/gorite.git] / com / intendico / gorite / LoopEndException.java
1 /*********************************************************************
2 Copyright 2012, Ralph Ronnquist.
3
4 This file is part of GORITE.
5
6 GORITE is free software: you can redistribute it and/or modify it
7 under the terms of the Lesser GNU General Public License as published
8 by the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 GORITE is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14 License for more details.
15
16 You should have received a copy of the Lesser GNU General Public
17 License along with GORITE.  If not, see <http://www.gnu.org/licenses/>.
18 **********************************************************************/
19
20 package com.intendico.gorite;
21
22 /**
23  * This exception is thrown by an {@link EndGoal} goal, to be caught
24  * by an enclosing {@link LoopGoal} goal, which then terminates
25  * successfully.
26  */
27 public class LoopEndException extends Exception {
28     /**
29      * Version identity required for serialization.
30      */
31     public static final long serialVersionUID = 1L;
32
33     /**
34      * Cosntructor.
35      */
36     public LoopEndException(String s) {
37         super( s );
38     }
39 }