public class TypeNotSupportedException extends DRException
For record types, this is usually chained with a
FieldTypeNotSupportedException
indicating the field which caused
this error.
Constructor and Description |
---|
TypeNotSupportedException(RecordTokenType type,
String reason,
FieldTypeNotSupportedException cause)
Constructs a
TypeNotSupportException indicating the
specified record type and field causing the failure. |
TypeNotSupportedException(TokenType type,
String reason)
Constructs a
TypeNotSupportException indicating the
specified type and providing additional context information
about the failure. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
TokenType |
getType()
Gets the type which violated the constraint.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TypeNotSupportedException(TokenType type, String reason)
TypeNotSupportException
indicating the
specified type and providing additional context information
about the failure.type
- the type of the object in violationreason
- additional contextual information about the
violated constraintpublic TypeNotSupportedException(RecordTokenType type, String reason, FieldTypeNotSupportedException cause)
TypeNotSupportException
indicating the
specified record type and field causing the failure.type
- the record type of the object in violationreason
- additional contextual information about the
violated constraintcause
- the field error triggering this exceptionpublic String getMessage()
getMessage
in class Throwable
public TokenType getType()
Copyright © 2020 Actian Corporation. All rights reserved.