| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.sql.SQLException org.continuent.sequoia.common.exceptions.NoMoreBackendException
NoMoreBackendException | public class NoMoreBackendException extends SQLException (Code) | | 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.
author: Nicolas Modrzyk author: Emmanuel Cecchet author: version: 1.0 |
Method Summary | |
public String | getLogin() Returns the login of the request that failed. | public long | getRecoveryLogId() Returns the recovery log id of the request that failed. | public void | setLogin(String login) Sets the login of the request that failed. | public void | setRecoveryLogId(long recoveryLogId) Sets the recovery log id of the request that failed. |
NoMoreBackendException | public NoMoreBackendException()(Code) | | Creates a new NoMoreBackendException object
|
NoMoreBackendException | public NoMoreBackendException(String reason)(Code) | | Creates a new NoMoreBackendException object
Parameters: reason - the error message |
NoMoreBackendException | public NoMoreBackendException(String reason, String sqlState)(Code) | | Creates a new NoMoreBackendException object
Parameters: reason - the error message Parameters: sqlState - the SQL state |
NoMoreBackendException | public NoMoreBackendException(String reason, String sqlState, int vendorCode)(Code) | | Creates a new NoMoreBackendException object
Parameters: reason - the error message Parameters: sqlState - the SQL state Parameters: vendorCode - vendor specific code |
getLogin | public String getLogin()(Code) | | Returns the login of the request that failed.
Returns the login. |
getRecoveryLogId | public long getRecoveryLogId()(Code) | | Returns the recovery log id of the request that failed.
Returns the recoveryLogId. |
setLogin | public void setLogin(String login)(Code) | | Sets the login of the request that failed.
Parameters: login - The login to set. |
setRecoveryLogId | public void setRecoveryLogId(long recoveryLogId)(Code) | | Sets the recovery log id of the request that failed.
Parameters: recoveryLogId - The recoveryLogId to set. |
|
|
|