Class ThrowableDetails

java.lang.Object
com.atlassian.bamboo.logger.ThrowableDetails
All Implemented Interfaces:
Serializable

public class ThrowableDetails extends Object implements Serializable

The details of a Throwable.

Instances of this class are guaranteed to be Serializable, unlike Throwables, which should be, but in practice often aren't.

See Also:
  • Method Details

    • fromThrowable

      @Nullable public static @Nullable ThrowableDetails fromThrowable(@Nullable @Nullable Throwable throwable)
    • fromThrowable

      @Nullable public static @Nullable ThrowableDetails fromThrowable(@Nullable @Nullable Throwable throwable, @Nullable @Nullable Map<String,String> metadata)
    • getName

      public String getName()
    • getMessage

      public String getMessage()
    • getStackTrace

      public String getStackTrace()
    • getRepositoryId

      @Nullable public @Nullable Long getRepositoryId()
    • getCauseStack

      @NotNull public @NotNull List<String> getCauseStack()
    • getMetadata

      @NotNull public @NotNull Map<String,String> getMetadata()