Package com.amazonaws.xray.entities
Class Cause
java.lang.Object
com.amazonaws.xray.entities.Cause
A representation of what issues caused this (sub)segment to include a failure / error. Can include exceptions or references to
other exceptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addException
(ThrowableDescription descriptor) void
addExceptions
(List<ThrowableDescription> descriptors) @Nullable String
getId()
@Nullable String
@Nullable Collection<String>
getPaths()
@Nullable String
void
void
setMessage
(String message) void
setPaths
(Collection<String> paths) void
setWorkingDirectory
(@Nullable String workingDirectory)
-
Constructor Details
-
Cause
public Cause()
-
-
Method Details
-
getWorkingDirectory
- Returns:
- the workingDirectory
-
setWorkingDirectory
- Parameters:
workingDirectory
- the workingDirectory to set
-
getId
- Returns:
- the id
-
setId
- Parameters:
id
- the id to set
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message
- the message to set
-
getPaths
- Returns:
- the paths
-
setPaths
- Parameters:
paths
- the paths to set
-
getExceptions
- Returns:
- the exceptions
-
addException
-
addExceptions
-