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 StringARTIFACT_DEPENDENCY_ERROR_TYPEstatic StringBUILD_RUNNER_ERROR_TYPEFollowing errors mark build as an internal error if reported before or during first build step executionstatic StringCHECKING_FOR_CHANGES_ERROR_TYPEstatic StringDIRECTORY_CREATION_ERROR_TYPEstatic StringINACCESSIBLE_EXTERNAL_DEPENDENCY_ERROR_TYPEStringlocalizedMessagestatic StringPREPARATION_FAILURE_TYPEstatic StringSNAPSHOT_DEPENDENCY_ERROR_BUILD_PROCEEDS_TYPEstatic StringSNAPSHOT_DEPENDENCY_ERROR_TYPEStringstackTraceStringtypestatic MapTYPE_DESCRIPTIONSstatic StringUNKNOWN_TYPEFollowing errors do not mark build as an internal error Normally they are reported by TeamCity core.static StringUPDATE_SOURCES_TYPEFollowing errors mark build as an internal error.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetEstimatedSize()booleanisInternalError()static booleanisInternalError(String type)static booleanisSnapshotDependencyError(String type)StringtoString()
-
-
-
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:
getEstimatedSizein interfaceObjectSizeEstimate- Returns:
- estimated size of this object in bytes
-
-