public abstract class RecordException extends EmpireException
Constructor and Description |
---|
RecordException(EntityType entity,
Object[] key,
ErrorType errType,
String[] params) |
RecordException(EntityType entityType,
Object[] key,
ErrorType errType,
String[] params,
Throwable cause) |
RecordException(Record record,
ErrorType errType,
String[] params) |
Modifier and Type | Method and Description |
---|---|
protected static String |
entityName(EntityType entity) |
EntityType |
getEntityType() |
protected static EntityType |
getEntityType(Record record) |
Object[] |
getKey() |
protected static Object[] |
getKey(Record rec) |
protected static String |
keyToString(Object[] key) |
protected static String |
rowsetName(DBRowSet rowset) |
formatErrorMessage, getErrorParams, getErrorType, log
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RecordException(EntityType entityType, Object[] key, ErrorType errType, String[] params, Throwable cause)
public RecordException(EntityType entity, Object[] key, ErrorType errType, String[] params)
protected static EntityType getEntityType(Record record)
protected static String entityName(EntityType entity)
public EntityType getEntityType()
public Object[] getKey()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.