diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-10-21 21:45:57 +0200 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-10-21 21:45:57 +0200 |
commit | a0c4b252e5867219871b5c6df10219d916e29bff (patch) | |
tree | 08cc82ec20db1c68ec6002d965209c5168fad7a9 /src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java | |
parent | 38847dbb8809a8214a911b120b6b11ee4d7f1399 (diff) |
Tabs to spaces
Diffstat (limited to 'src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java')
-rw-r--r-- | src/pl/edu/mimuw/cloudatlas/model/UnsupportedConversionException.java | 66 |
1 files changed, 33 insertions, 33 deletions
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; + } } |