From a0c4b252e5867219871b5c6df10219d916e29bff Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Mon, 21 Oct 2019 21:45:57 +0200 Subject: Tabs to spaces --- .../model/UnsupportedConversionException.java | 66 +++++++++++----------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java') diff --git a/src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java b/src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java index 024c89f..98cbd3a 100644 --- a/src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java +++ b/src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java @@ -26,42 +26,42 @@ package pl.edu.mimuw.cloudatlas.model; /** * An exception describing unsupported conversion of a value to another type. - * + * * @see IncompatibleTypesException * @see UnsupportedValueOperationException */ @SuppressWarnings("serial") public class UnsupportedConversionException extends UnsupportedOperationException { - private final Type from; - private final Type to; - - /** - * Creates a new instance of this this exception. - * - * @param from source type of an unsupported conversion - * @param to destination type of an unsupported conversion - */ - protected UnsupportedConversionException(Type from, Type to) { - super("Type " + from + " cannot be converted to " + to + "."); - this.from = from; - this.to = to; - } - - /** - * Gets a source type of an unsupported conversion that caused this exception. - * - * @return source type - */ - public Type getFrom() { - return from; - } - - /** - * Gets a destination type of an unsupported conversion that caused this exception. - * - * @return destination type - */ - public Type getTo() { - return to; - } + private final Type from; + private final Type to; + + /** + * Creates a new instance of this this exception. + * + * @param from source type of an unsupported conversion + * @param to destination type of an unsupported conversion + */ + protected UnsupportedConversionException(Type from, Type to) { + super("Type " + from + " cannot be converted to " + to + "."); + this.from = from; + this.to = to; + } + + /** + * Gets a source type of an unsupported conversion that caused this exception. + * + * @return source type + */ + public Type getFrom() { + return from; + } + + /** + * Gets a destination type of an unsupported conversion that caused this exception. + * + * @return destination type + */ + public Type getTo() { + return to; + } } -- cgit v1.2.3