Class ThrowableDescription

java.lang.Object
com.amazonaws.xray.entities.ThrowableDescription

public class ThrowableDescription extends Object
  • Constructor Details

    • ThrowableDescription

      public ThrowableDescription()
    • ThrowableDescription

      public ThrowableDescription(Throwable throwable)
  • Method Details

    • getId

      public @Nullable String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getMessage

      public @Nullable String getMessage()
      Returns:
      the message
    • setMessage

      public void setMessage(@Nullable String message)
      Parameters:
      message - the message to set
    • getType

      public @Nullable String getType()
      Returns:
      the type
    • setType

      public void setType(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 StackTraceElement[] getStack()
      Returns:
      the stack
    • setStack

      public void setStack(@Nullable 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 String getCause()
      Returns:
      the cause
    • setCause

      public void setCause(@Nullable String cause)
      Parameters:
      cause - the cause to set
    • getThrowable

      public @Nullable Throwable getThrowable()
      Returns:
      the throwable
    • setThrowable

      public void setThrowable(Throwable throwable)
      Parameters:
      throwable - the throwable to set