public class DatabaseSQLException
extends com.streamscape.sdo.IAbstractExceptionEvent
Title: Structured Data Objects
Description: This is a database query exception, typically thrown when an SQL Query experiences a problem.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_ID |
SEMANTIC_TYPE_NAME
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
DatabaseSQLException(int errorCode,
java.lang.String message) |
DatabaseSQLException(int errorCode,
java.lang.String message,
Severity severity) |
DatabaseSQLException(int errorCode,
java.lang.String message,
java.lang.Throwable cause) |
DatabaseSQLException(int errorCode,
java.lang.String message,
java.lang.Throwable cause,
Severity severity) |
DatabaseSQLException(int errorCode,
java.lang.Throwable cause) |
DatabaseSQLException(int errorCode,
java.lang.Throwable cause,
Severity severity) |
DatabaseSQLException(SQLException excp) |
DatabaseSQLException(java.lang.String message,
DatabaseSQLException exception) |
DatabaseSQLException(java.lang.String SQLState,
java.lang.String reason,
int vendorCode,
Severity severity) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentName()
Returns the component name of the exception.
|
java.lang.String |
getConnectionName()
Returns the connection name of the exception.
|
java.lang.String |
getSQLState()
Returns the SQL state of the exception.
|
void |
setComponentName(java.lang.String componentName)
Sets the specified component name.
|
void |
setConnectionName(java.lang.String connName)
Sets the specified connection name.
|
void |
setSQLState(java.lang.String sqlState)
Sets the the SQL state of the exception.
|
canConvertEventProperty, clearEventProperties, clone, equals, existsEventProperty, getCorrelationId, getCorrelationIdAsBytes, getDurable, getErrorCode, getErrorCodeAsString, getErrorMessage, getErrorPrefix, getEventBigDecimalProperty, getEventBooleanProperty, getEventByteProperty, getEventDoubleProperty, getEventFloatProperty, getEventGroupId, getEventId, getEventIntProperty, getEventKey, getEventLongProperty, getEventObjectProperty, getEventPropertyNames, getEventPropertyType, getEventShortProperty, getEventSink, getEventSource, getEventStringProperty, getReplyTo, getSerialVersionUID, getSeverity, getTimestamp, getTransmitAccess, isCoalesced, removeEventProperty, resetReplyTo, setCorrelationId, setCorrelationIdAsBytes, setDurable, setErrorCode, setEventBigDecimalProperty, setEventBigDecimalProperty, setEventBooleanProperty, setEventByteProperty, setEventDoubleProperty, setEventFloatProperty, setEventGroupId, setEventIntProperty, setEventKey, setEventLongProperty, setEventObjectProperty, setEventShortProperty, setEventSink, setEventStringProperty, setReplyTo, setSeverity, toString
public static final java.lang.String EVENT_ID
public DatabaseSQLException(SQLException excp)
public DatabaseSQLException(java.lang.String message, DatabaseSQLException exception)
public DatabaseSQLException(int errorCode, java.lang.String message)
public DatabaseSQLException(java.lang.String SQLState, java.lang.String reason, int vendorCode, Severity severity)
public DatabaseSQLException(int errorCode, java.lang.Throwable cause)
public DatabaseSQLException(int errorCode, java.lang.String message, java.lang.Throwable cause)
public DatabaseSQLException(int errorCode, java.lang.String message, Severity severity)
public DatabaseSQLException(int errorCode, java.lang.Throwable cause, Severity severity)
public DatabaseSQLException(int errorCode, java.lang.String message, java.lang.Throwable cause, Severity severity)
public java.lang.String getSQLState()
public void setSQLState(java.lang.String sqlState)
sqlState
- the SQL state to be set.SDORuntimeException
- if the event is coalesced (locked for editing).public void setConnectionName(java.lang.String connName)
connName
- the connection name to be set.SDORuntimeException
- if the event is coalesced (locked for editing).public java.lang.String getConnectionName()
public void setComponentName(java.lang.String componentName)
componentName
- the component name to be set.SDORuntimeException
- if the event is coalesced (locked for editing).public java.lang.String getComponentName()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.