Package jetbrains.buildServer.messages
Class ErrorData
- java.lang.Object
-
- jetbrains.buildServer.messages.ErrorData
-
- All Implemented Interfaces:
ObjectSizeEstimate
- Direct Known Subclasses:
TestProblemData
public class ErrorData extends Object implements ObjectSizeEstimate
- Author:
- Eugene Zhuravlev Date: Mar 22, 2006
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARTIFACT_DEPENDENCY_ERROR_TYPE
static String
BUILD_RUNNER_ERROR_TYPE
Following errors mark build as an internal error if reported before or during first build step executionstatic String
CHECKING_FOR_CHANGES_ERROR_TYPE
static String
DIRECTORY_CREATION_ERROR_TYPE
static String
INACCESSIBLE_EXTERNAL_DEPENDENCY_ERROR_TYPE
String
localizedMessage
static String
PREPARATION_FAILURE_TYPE
static String
SNAPSHOT_DEPENDENCY_ERROR_BUILD_PROCEEDS_TYPE
static String
SNAPSHOT_DEPENDENCY_ERROR_TYPE
String
stackTrace
String
type
static Map
TYPE_DESCRIPTIONS
static String
UNKNOWN_TYPE
Following errors do not mark build as an internal error Normally they are reported by TeamCity core.static String
UPDATE_SOURCES_TYPE
Following errors mark build as an internal error.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEstimatedSize()
boolean
isInternalError()
static boolean
isInternalError(String type)
static boolean
isSnapshotDependencyError(String type)
String
toString()
-
-
-
Field Detail
-
UPDATE_SOURCES_TYPE
public static final String UPDATE_SOURCES_TYPE
Following errors mark build as an internal error. Normally they are reported by TeamCity core. Shouldn't be reported from build step.- See Also:
- Constant Field Values
-
CHECKING_FOR_CHANGES_ERROR_TYPE
public static final String CHECKING_FOR_CHANGES_ERROR_TYPE
- See Also:
- Constant Field Values
-
ARTIFACT_DEPENDENCY_ERROR_TYPE
public static final String ARTIFACT_DEPENDENCY_ERROR_TYPE
- See Also:
- Constant Field Values
-
SNAPSHOT_DEPENDENCY_ERROR_TYPE
public static final String SNAPSHOT_DEPENDENCY_ERROR_TYPE
- See Also:
- Constant Field Values
-
PREPARATION_FAILURE_TYPE
public static final String PREPARATION_FAILURE_TYPE
- See Also:
- Constant Field Values
-
DIRECTORY_CREATION_ERROR_TYPE
public static final String DIRECTORY_CREATION_ERROR_TYPE
- See Also:
- Constant Field Values
-
INACCESSIBLE_EXTERNAL_DEPENDENCY_ERROR_TYPE
public static final String INACCESSIBLE_EXTERNAL_DEPENDENCY_ERROR_TYPE
- See Also:
- Constant Field Values
-
BUILD_RUNNER_ERROR_TYPE
public static final String BUILD_RUNNER_ERROR_TYPE
Following errors mark build as an internal error if reported before or during first build step execution- See Also:
- Constant Field Values
-
UNKNOWN_TYPE
public static final String UNKNOWN_TYPE
Following errors do not mark build as an internal error Normally they are reported by TeamCity core. Shouldn't be reported from build step.- See Also:
- Constant Field Values
-
SNAPSHOT_DEPENDENCY_ERROR_BUILD_PROCEEDS_TYPE
public static final String SNAPSHOT_DEPENDENCY_ERROR_BUILD_PROCEEDS_TYPE
- See Also:
- Constant Field Values
-
TYPE_DESCRIPTIONS
public static final Map TYPE_DESCRIPTIONS
-
stackTrace
public String stackTrace
-
localizedMessage
public String localizedMessage
-
type
public String type
-
-
Method Detail
-
isInternalError
public boolean isInternalError()
-
isInternalError
public static boolean isInternalError(String type)
-
isSnapshotDependencyError
public static boolean isSnapshotDependencyError(String type)
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceObjectSizeEstimate
- Returns:
- estimated size of this object in bytes
-
-