blob: 15367dc7086a8f44a9c419c4241561c9081a9e9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package bjc.utils.exceptions;
/**
* Exception thrown when using a non-constant power.
*
* @author Ben Culkin
*
*/
public class NonConstantPower extends RuntimeException {
private static final long serialVersionUID = 1640883448305031149L;
/**
* Create a new non-constant power exception.
*/
public NonConstantPower() {
super("Cannot raise an expression to a non-constant power");
}
}
|