Package com.amazonaws.xray.entities
Class ThrowableDescription
- java.lang.Object
-
- com.amazonaws.xray.entities.ThrowableDescription
-
public class ThrowableDescription extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ThrowableDescription()
ThrowableDescription(java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.String
getCause()
@Nullable java.lang.String
getId()
@Nullable java.lang.String
getMessage()
int
getSkipped()
@Nullable java.lang.StackTraceElement[]
getStack()
@Nullable java.lang.Throwable
getThrowable()
int
getTruncated()
@Nullable java.lang.String
getType()
boolean
isRemote()
void
setCause(@Nullable java.lang.String cause)
void
setId(java.lang.String id)
void
setMessage(@Nullable java.lang.String message)
void
setRemote(boolean remote)
void
setSkipped(int skipped)
void
setStack(@Nullable java.lang.StackTraceElement[] stack)
void
setThrowable(java.lang.Throwable throwable)
void
setTruncated(int truncated)
void
setType(java.lang.String type)
-
-
-
Method Detail
-
getId
public @Nullable java.lang.String getId()
- Returns:
- the id
-
setId
public void setId(java.lang.String id)
- Parameters:
id
- the id to set
-
getMessage
public @Nullable java.lang.String getMessage()
- Returns:
- the message
-
setMessage
public void setMessage(@Nullable java.lang.String message)
- Parameters:
message
- the message to set
-
getType
public @Nullable java.lang.String getType()
- Returns:
- the type
-
setType
public void setType(java.lang.String type)
- Parameters:
type
- the type to set
-
isRemote
public boolean isRemote()
- Returns:
- the remote
-
setRemote
public void setRemote(boolean remote)
- Parameters:
remote
- the remote to set
-
getStack
public @Nullable java.lang.StackTraceElement[] getStack()
- Returns:
- the stack
-
setStack
public void setStack(@Nullable java.lang.StackTraceElement[] stack)
- Parameters:
stack
- the stack to set
-
getTruncated
public int getTruncated()
- Returns:
- the truncated
-
setTruncated
public void setTruncated(int truncated)
- Parameters:
truncated
- the truncated to set
-
getSkipped
public int getSkipped()
- Returns:
- the skipped
-
setSkipped
public void setSkipped(int skipped)
- Parameters:
skipped
- the skipped to set
-
getCause
public @Nullable java.lang.String getCause()
- Returns:
- the cause
-
setCause
public void setCause(@Nullable java.lang.String cause)
- Parameters:
cause
- the cause to set
-
getThrowable
public @Nullable java.lang.Throwable getThrowable()
- Returns:
- the throwable
-
setThrowable
public void setThrowable(java.lang.Throwable throwable)
- Parameters:
throwable
- the throwable to set
-
-