Files
android-calculatorpp/jscl/src/main/java/jscl/math/NotIntegerException.java
2016-03-05 11:43:54 +01:00

19 lines
422 B
Java

package jscl.math;
import javax.annotation.Nonnull;
public class NotIntegerException extends ArithmeticException {
@SuppressWarnings("ThrowableInstanceNeverThrown")
private static final NotIntegerException INSTANCE = new NotIntegerException();
private NotIntegerException() {
super("Not integer!");
}
@Nonnull
public static NotIntegerException get() {
return INSTANCE;
}
}