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.StringgetCause()@Nullable java.lang.StringgetId()@Nullable java.lang.StringgetMessage()intgetSkipped()@Nullable java.lang.StackTraceElement[]getStack()@Nullable java.lang.ThrowablegetThrowable()intgetTruncated()@Nullable java.lang.StringgetType()booleanisRemote()voidsetCause(@Nullable java.lang.String cause)voidsetId(java.lang.String id)voidsetMessage(@Nullable java.lang.String message)voidsetRemote(boolean remote)voidsetSkipped(int skipped)voidsetStack(@Nullable java.lang.StackTraceElement[] stack)voidsetThrowable(java.lang.Throwable throwable)voidsetTruncated(int truncated)voidsetType(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
-
-