public class FieldExistsException extends DRException
| Constructor and Description |
|---|
FieldExistsException(String fieldName,
String... existingFieldNames)
Construct the exception without a message.
|
FieldExistsException(String msg,
String fieldName,
String... existingFieldNames)
Construct the exception with a message.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getExisingFieldNames()
Get the existing field names.
|
String |
getFieldName()
Get the field name.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FieldExistsException(String fieldName, String... existingFieldNames)
fieldName - name of the field that already existsexistingFieldNames - name of all existing fieldspublic FieldExistsException(String msg, String fieldName, String... existingFieldNames)
msg - message to be added to the exceptions messagefieldName - name of the field that already existsexistingFieldNames - name of all existing fieldspublic String getMessage()
getMessage in class Throwablepublic String getFieldName()
public String[] getExisingFieldNames()
Copyright © 2020 Actian Corporation. All rights reserved.