Serializable
, org.refcodes.exception.ErrorCodeAccessor
, org.refcodes.exception.Trap
, org.refcodes.mixin.ValueAccessor<Object>
, ColumnAccessor
public class ColumnMismatchException extends TabularException
Record
of the wrong
type than specified by a provided Column
(of for example a
Header
).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
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
Constructor | 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 | Description |
---|---|---|
Column<?> |
getColumn() |
Gets the column.
|
Object |
getValue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 columnaValue
- the valueaMessage
- the messageaErrorCode
- the error codepublic ColumnMismatchException(Column<?> aColumn, Object aValue, String aMessage, Throwable aCause, String aErrorCode)
aColumn
- the columnaValue
- the valueaMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic ColumnMismatchException(Column<?> aColumn, Object aValue, String message, Throwable cause)
aColumn
- the columnaValue
- the valuemessage
- the messagecause
- the causepublic ColumnMismatchException(Column<?> aColumn, Object aValue, String message)
aColumn
- the columnaValue
- the valuemessage
- the messagepublic ColumnMismatchException(Column<?> aColumn, Object aValue, Throwable aCause, String aErrorCode)
aColumn
- the columnaValue
- the valueaCause
- the causeaErrorCode
- the error codepublic Object getValue()
getValue
in interface org.refcodes.mixin.ValueAccessor<Object>
public Column<?> getColumn()
getColumn
in interface ColumnAccessor
Copyright © 2018. All rights reserved.