public class DataValueConversionException extends RuntimeException
Constructor and Description |
---|
DataValueConversionException(String srcType,
String targetType)
Constructs a DataValueConversionException.
|
DataValueConversionException(String srcType,
String targetType,
Throwable cause)
Constructs a boolean DataValue.
|
Modifier and Type | Method and Description |
---|---|
String |
getSourceTypeLabel()
Gets the label describing the source datatype.
|
String |
getTargetTypeLabel()
Gets the label describing the target datatype.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataValueConversionException(String srcType, String targetType)
srcType
- the source data type labeltargetType
- the source data type labelpublic DataValueConversionException(String srcType, String targetType, Throwable cause)
This variant implies a non-null value.
srcType
- the source data type labeltargetType
- the source data type labelcause
- the causitive exception if anypublic String getSourceTypeLabel()
public String getTargetTypeLabel()
Copyright © 2023. All rights reserved.