| Package | Description |
|---|---|
| net.snowflake.client.core | |
| net.snowflake.client.jdbc |
| Modifier and Type | Method and Description |
|---|---|
static SFException |
IncidentUtil.generateIncidentWithException(SFSession session,
String requestId,
String jobUuid,
ErrorCode errorCode,
Object... params)
Creates an SFException without a cause to be thrown and generates/triggers
an incident based on that exception.
|
static SFException |
IncidentUtil.generateIncidentWithException(SFSession session,
String requestId,
String jobUuid,
Throwable cause,
ErrorCode errorCode,
Object... params) |
static SFException |
IncidentUtil.generateIncidentWithException(String sessionToken,
String serverUrl,
String requestId,
String jobUuid,
ErrorCode errorCode,
Object... params) |
static SFException |
IncidentUtil.generateIncidentWithException(String sessionToken,
String serverUrl,
String requestId,
String jobUuid,
Throwable cause,
ErrorCode errorCode,
Object... params)
Creates an SFException to be thrown and generates/triggers an incident
based on that exception.
|
static SFException |
IncidentUtil.generateIncidentWithSignatureAndException(SFSession session,
String requestId,
String jobUuid,
String signature,
ErrorCode errorCode,
Object... params)
Creates an SFException without a cause to be thrown and generates/triggers
an incident based on that exception with the specified signature.
|
static SFException |
IncidentUtil.generateIncidentWithSignatureAndException(String sessionToken,
String serverUrl,
String requestId,
String jobUuid,
String signature,
ErrorCode errorCode,
Object... params) |
| Constructor and Description |
|---|
SFException(ErrorCode errorCode,
Object... params) |
SFException(Throwable cause,
ErrorCode errorCode,
Object... params) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
ErrorCode.getByErrorCode(String errorCode) |
static ErrorCode |
ErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017. All rights reserved.