public class SourceControlException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_CLIENT_API_NOT_FOUND
A required sourceControl client API was not found.
|
static int |
ERROR_FILE_TOO_LARGE |
static int |
ERROR_INVALID_ARGUMENT
An argument provided to the SCS was invalid, for example missing.
|
static int |
ERROR_LOCAL_FILE_STORAGE_FAIL |
static int |
ERROR_NO_VERSION_SUPPORT
A label should be fetched but the profile does not support versioning (UNC).
|
static int |
ERROR_NOT_IMPLEMENTED
The method is not implemented.
|
static int |
ERROR_PROJECT_DOESENT_EXIST
The specified projectPath doesn't exist.
|
static int |
ERROR_SECURITY_ISSUE
Mostly wrong user or password.
|
static int |
ERROR_TARGET_EXISTS |
static int |
ERROR_UNKNOWN
An unknown (not exactly specified) error occurred.
|
static int |
ERROR_VOID_PROFILE
The SCP has void functionality
|
| Constructor and Description |
|---|
SourceControlException(int vcsErrorCode) |
SourceControlException(int vcsErrorCode,
java.lang.Throwable cause) |
SourceControlException(java.lang.String message,
int vcsErrorCode) |
SourceControlException(java.lang.String message,
java.lang.Throwable cause) |
SourceControlException(java.lang.String message,
java.lang.Throwable cause,
int vcsErrorCode) |
SourceControlException(java.lang.Throwable cause) |
SourceControlException(java.lang.Throwable cause,
int vcsErrorCode) |
| Modifier and Type | Method and Description |
|---|---|
int |
getVcsErrorCode()
For possible error codes, see the
ERROR_* constants. |
void |
setVcsErrorCode(int vcsErrorCode) |
public static final int ERROR_INVALID_ARGUMENT
public static final int ERROR_SECURITY_ISSUE
public static final int ERROR_TARGET_EXISTS
public static final int ERROR_CLIENT_API_NOT_FOUND
public static final int ERROR_PROJECT_DOESENT_EXIST
public static final int ERROR_NOT_IMPLEMENTED
public static final int ERROR_NO_VERSION_SUPPORT
public static final int ERROR_LOCAL_FILE_STORAGE_FAIL
public static final int ERROR_VOID_PROFILE
public static final int ERROR_FILE_TOO_LARGE
public static final int ERROR_UNKNOWN
public SourceControlException(int vcsErrorCode)
public SourceControlException(java.lang.String message,
int vcsErrorCode)
public SourceControlException(java.lang.Throwable cause,
int vcsErrorCode)
public SourceControlException(java.lang.String message,
java.lang.Throwable cause,
int vcsErrorCode)
public SourceControlException(java.lang.Throwable cause)
public SourceControlException(java.lang.String message,
java.lang.Throwable cause)
public SourceControlException(int vcsErrorCode,
java.lang.Throwable cause)
Copyright © Micro Focus 2004-2019. All rights reserved.