public class ColumnMismatchException extends TabularException
Record
of the wrong
type than specified by a provided Column
(of for example a
Header
).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>
ColumnAccessor.ColumnMutator<T>, ColumnAccessor.ColumnProperty<T>
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Constructor and Description |
---|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String message)
Instantiates a new column mismatch exception.
|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String aMessage,
String aErrorCode)
Instantiates a new column mismatch exception.
|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String message,
Throwable cause)
Instantiates a new column mismatch exception.
|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String aMessage,
Throwable aCause,
String aErrorCode)
Instantiates a new column mismatch exception.
|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
Throwable cause)
Instantiates a new column mismatch exception.
|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
Throwable aCause,
String aErrorCode)
Instantiates a new column mismatch exception.
|
Modifier and Type | Method and Description |
---|---|
Column<?> |
getColumn()
Gets the column.
|
Object |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ColumnMismatchException(Column<?> aColumn, Object aValue, String aMessage, String aErrorCode)
aColumn
- the a columnaValue
- the a valueaMessage
- the a messageaErrorCode
- the a error codepublic ColumnMismatchException(Column<?> aColumn, Object aValue, String aMessage, Throwable aCause, String aErrorCode)
aColumn
- the a columnaValue
- the a valueaMessage
- the a messageaCause
- the a causeaErrorCode
- the a error codepublic ColumnMismatchException(Column<?> aColumn, Object aValue, String message, Throwable cause)
aColumn
- the a columnaValue
- the a valuemessage
- the messagecause
- the causepublic ColumnMismatchException(Column<?> aColumn, Object aValue, String message)
aColumn
- the a columnaValue
- the a valuemessage
- the messagepublic ColumnMismatchException(Column<?> aColumn, Object aValue, Throwable aCause, String aErrorCode)
aColumn
- the a columnaValue
- the a valueaCause
- the a causeaErrorCode
- the a error codepublic Object getValue()
getValue
in interface org.refcodes.mixin.ValueAccessor<Object>
public Column<?> getColumn()
getColumn
in interface ColumnAccessor
Copyright © 2017. All rights reserved.