Class ColumnMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.tabular.TabularException
org.refcodes.tabular.TabularException.ColumnException
org.refcodes.tabular.TabularException.ColumnException.ColumnValueException
org.refcodes.tabular.ColumnMismatchException
- All Implemented Interfaces:
Serializable,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap,org.refcodes.mixin.ValueAccessor<Object>,ColumnAccessor
Thrown in case a value was found in the e.g. in a
Record of the wrong
type than specified by a provided Column (of for example a
Header).- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.tabular.TabularException.ColumnException
TabularException.ColumnException.ColumnValueExceptionNested classes/interfaces inherited from class org.refcodes.tabular.TabularException
TabularException.ColumnException, TabularException.HeaderException, TabularException.KeyExceptionNested classes/interfaces inherited from interface org.refcodes.tabular.ColumnAccessor
ColumnAccessor.ColumnMutator<T>, ColumnAccessor.ColumnProperty<T>Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V, B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V>, org.refcodes.mixin.ValueAccessor.ValueProperty<V> -
Field Summary
Fields inherited from class org.refcodes.tabular.TabularException.ColumnException.ColumnValueException
_valueFields inherited from class org.refcodes.tabular.TabularException.ColumnException
_column -
Constructor Summary
ConstructorsConstructorDescriptionColumnMismatchException(String aMessage, Column<?> aColumn, Object aValue) Instantiates the classColumnMismatchException.ColumnMismatchException(String aMessage, Column<?> aColumn, Object aValue, String aErrorCode) Instantiates the classColumnMismatchException.ColumnMismatchException(Column<?> aColumn, Object aValue, String aMessage, Throwable aCause) Instantiates the classColumnMismatchException.ColumnMismatchException(Column<?> aColumn, Object aValue, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classColumnMismatchException.ColumnMismatchException(Column<?> aColumn, Object aValue, Throwable aCause) Instantiates the classColumnMismatchException.ColumnMismatchException(Column<?> aColumn, Object aValue, Throwable aCause, String aErrorCode) Instantiates the classColumnMismatchException. -
Method Summary
Methods inherited from class org.refcodes.tabular.TabularException.ColumnException.ColumnValueException
getPatternArguments, getValueMethods inherited from class org.refcodes.tabular.TabularException.ColumnException
getColumnMethods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessageMethods inherited from interface org.refcodes.mixin.ValueAccessor
getValueOr, hasValue
-
Constructor Details
-
ColumnMismatchException
public ColumnMismatchException(String aMessage, Column<?> aColumn, Object aValue, String aErrorCode) Instantiates the classColumnMismatchException.- See Also:
-
ColumnMismatchException
-
ColumnMismatchException
Instantiates the classColumnMismatchException.- See Also:
-
ColumnMismatchException
Instantiates the classColumnMismatchException.- See Also:
-
ColumnMismatchException
public ColumnMismatchException(Column<?> aColumn, Object aValue, Throwable aCause, String aErrorCode) Instantiates the classColumnMismatchException.- See Also:
-
ColumnMismatchException
Instantiates the classColumnMismatchException.- See Also:
-