| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CJCommunicationsException | createCommunicationsException(PropertySet propertySet, ServerSession serverSession, PacketSentTimeHolder packetSentTimeHolder, PacketReceivedTimeHolder packetReceivedTimeHolder, Throwable cause, ExceptionInterceptor interceptor)
|
| public static CJException | |
| public static <T extends CJException> T | |
| public static CJException | |
| public static <T extends CJException> T | Returns: CJException instanceexception class clazz, String message message, ExceptionInterceptor exception interceptor interceptor)
|
| public static CJException | |
| public static <T extends CJException> T | |
| public static CJException | |
| public static CJException | createException(String message, String sqlState, int vendorErrorCode, boolean isTransient, Throwable cause, ExceptionInterceptor interceptor)
|
| public static <T extends CJException> T | Returns: CJException instanceexception class clazz, String message message, Throwable exception caused this one cause, ExceptionInterceptor exception interceptor interceptor)
|
| public static String | Returns: messageproperty set propertySet, ServerSession server session serverSession, PacketSentTimeHolder packetSentTimeHolder packetSentTimeHolder, PacketReceivedTimeHolder packetReceivedTimeHolder packetReceivedTimeHolder, Throwable underlyingException underlyingException)Creates a communications link failure message to be used in CommunicationsException that (hopefully) has some better information and suggestions based on heuristics. |
| DEFAULT_WAIT_TIMEOUT_SECONDS | back to summary |
|---|---|
| private static final long DEFAULT_WAIT_TIMEOUT_SECONDS | |
| DUE_TO_TIMEOUT_FALSE | back to summary |
|---|---|
| private static final int DUE_TO_TIMEOUT_FALSE | |
| DUE_TO_TIMEOUT_MAYBE | back to summary |
|---|---|
| private static final int DUE_TO_TIMEOUT_MAYBE | |
| DUE_TO_TIMEOUT_TRUE | back to summary |
|---|---|
| private static final int DUE_TO_TIMEOUT_TRUE | |
| ExceptionFactory | back to summary |
|---|---|
| public ExceptionFactory() | |
| createCommunicationsException | back to summary |
|---|---|
| public static CJCommunicationsException createCommunicationsException(PropertySet propertySet, ServerSession serverSession, PacketSentTimeHolder packetSentTimeHolder, PacketReceivedTimeHolder packetReceivedTimeHolder, Throwable cause, ExceptionInterceptor interceptor) | |
| createException | back to summary |
|---|---|
| public static CJException createException(String message) | |
| createException | back to summary |
|---|---|
public static <T extends CJException> T createException(Class<T> clazz, String message)
| |
| createException | back to summary |
|---|---|
| public static CJException createException(String message, ExceptionInterceptor interceptor) | |
| createException | back to summary |
|---|---|
public static <T extends CJException> T createException(Class<T> clazz, String message, ExceptionInterceptor interceptor)
| |
| createException | back to summary |
|---|---|
| public static CJException createException(String message, Throwable cause) | |
| createException | back to summary |
|---|---|
| public static <T extends CJException> T createException(Class<T> clazz, String message, Throwable cause) | |
| createException | back to summary |
|---|---|
| public static CJException createException(String message, Throwable cause, ExceptionInterceptor interceptor) | |
| createException | back to summary |
|---|---|
| public static CJException createException(String message, String sqlState, int vendorErrorCode, boolean isTransient, Throwable cause, ExceptionInterceptor interceptor) | |
| createException | back to summary |
|---|---|
public static <T extends CJException> T createException(Class<T> clazz, String message, Throwable cause, ExceptionInterceptor interceptor)
| |
| createLinkFailureMessageBasedOnHeuristics | back to summary |
|---|---|
| public static String createLinkFailureMessageBasedOnHeuristics(PropertySet propertySet, ServerSession serverSession, PacketSentTimeHolder packetSentTimeHolder, PacketReceivedTimeHolder packetReceivedTimeHolder, Throwable underlyingException) Creates a communications link failure message to be used in CommunicationsException that (hopefully) has some better information and suggestions based on heuristics.
| |