diff options
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java index 23a325f..ba79359 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java @@ -28,20 +28,20 @@ import pl.edu.mimuw.cloudatlas.model.Type; @SuppressWarnings("serial") public class InvalidTypeException extends InterpreterException { - private final Type expected; - private final Type got; + private final Type expected; + private final Type got; - protected InvalidTypeException(Type expected, Type got) { - super("Invalid type. Expected " + expected + ", got " + got + "."); - this.expected = expected; - this.got = got; - } + protected InvalidTypeException(Type expected, Type got) { + super("Invalid type. Expected " + expected + ", got " + got + "."); + this.expected = expected; + this.got = got; + } - public Type getExpected() { - return expected; - } + public Type getExpected() { + return expected; + } - public Type getGot() { - return got; - } + public Type getGot() { + return got; + } } |