|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.sql.SQLException org.objectweb.cjdbc.common.exceptions.NoMoreBackendException
This class defines a NoMoreBackendException. This means that a controller does not have any backend left to execute the query. The exception might carry an optional identifier of the request that failed. This is useful to unlog a remote request that has failed since each controller has its own local id for each distributed request.
Field Summary | |
private java.lang.String |
login
|
private long |
recoveryLogId
|
private static long |
serialVersionUID
|
Fields inherited from class java.sql.SQLException |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
NoMoreBackendException()
Creates a new NoMoreBackendException object |
|
NoMoreBackendException(java.lang.String reason)
Creates a new NoMoreBackendException object |
|
NoMoreBackendException(java.lang.String reason,
java.lang.String sqlState)
Creates a new NoMoreBackendException object |
|
NoMoreBackendException(java.lang.String reason,
java.lang.String sqlState,
int vendorCode)
Creates a new NoMoreBackendException object |
Method Summary | |
java.lang.String |
getLogin()
Returns the login of the request that failed. |
long |
getRecoveryLogId()
Returns the recovery log id of the request that failed. |
void |
setLogin(java.lang.String login)
Sets the login of the request that failed. |
void |
setRecoveryLogId(long recoveryLogId)
Sets the recovery log id of the request that failed. |
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private long recoveryLogId
private java.lang.String login
Constructor Detail |
public NoMoreBackendException()
NoMoreBackendException
object
public NoMoreBackendException(java.lang.String reason)
NoMoreBackendException
object
reason
- the error messagepublic NoMoreBackendException(java.lang.String reason, java.lang.String sqlState)
NoMoreBackendException
object
reason
- the error messagesqlState
- the SQL statepublic NoMoreBackendException(java.lang.String reason, java.lang.String sqlState, int vendorCode)
NoMoreBackendException
object
reason
- the error messagesqlState
- the SQL statevendorCode
- vendor specific codeMethod Detail |
public long getRecoveryLogId()
public void setRecoveryLogId(long recoveryLogId)
recoveryLogId
- The recoveryLogId to set.public java.lang.String getLogin()
public void setLogin(java.lang.String login)
login
- The login to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |