Synthia
Generic and flexible data structure generator
NoMoreElementException.java
Go to the documentation of this file.
1
/*
2
Synthia, a data structure generator
3
Copyright (C) 2019-2021 Laboratoire d'informatique formelle
4
Université du Québec à Chicoutimi, Canada
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser 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
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
package
ca.uqac.lif.synthia;
20
21
/**
22
* An exception to throw when a picker can't pick an other element.
23
* @ingroup API
24
*/
25
public
class
NoMoreElementException
extends
PickerException
26
{
27
/**
28
* Dummy UID.
29
*/
30
private
static
final
long
serialVersionUID = 1L;
31
32
/**
33
* The default message associated to this exception.
34
*/
35
private
static
final
String m_message =
"No more element can be picked."
;
36
37
/**
38
* Creates a new exception with the default message;
39
*/
40
public
NoMoreElementException
() {
41
super(m_message);
42
}
43
44
/**
45
* Creates a new exception.
46
* @param message The message associated to this exception
47
*/
48
public
NoMoreElementException
(String message) {
49
super(message);
50
}
51
52
/**
53
* Creates a new exception.
54
* @param t The throwable associated to this exception
55
*/
56
public
NoMoreElementException
(Throwable t) {
57
super(t);
58
}
59
}
ca.uqac.lif.synthia.NoMoreElementException.NoMoreElementException
NoMoreElementException()
Creates a new exception with the default message;.
Definition:
NoMoreElementException.java:40
ca.uqac.lif.synthia.NoMoreElementException.NoMoreElementException
NoMoreElementException(String message)
Creates a new exception.
Definition:
NoMoreElementException.java:48
ca.uqac.lif.synthia.PickerException
Generic runtime exception thrown by the Picker interface.
Definition:
PickerException.java:26
ca.uqac.lif.synthia.NoMoreElementException.NoMoreElementException
NoMoreElementException(Throwable t)
Creates a new exception.
Definition:
NoMoreElementException.java:56
ca.uqac.lif.synthia.NoMoreElementException
An exception to throw when a picker can't pick an other element.
Definition:
NoMoreElementException.java:25
Source
Core
src
ca
uqac
lif
synthia
NoMoreElementException.java
Generated by
1.8.17