Package com.atlassian.bamboo.logger
Class ThrowableDetails
java.lang.Object
com.atlassian.bamboo.logger.ThrowableDetails
- All Implemented Interfaces:
Serializable
The details of a Throwable
.
Instances of this class are guaranteed to be Serializable
, unlike Throwable
s, which should be, but
in practice often aren't.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ThrowableDetails
fromThrowable
(@Nullable Throwable throwable) static @Nullable ThrowableDetails
fromThrowable
(@Nullable Throwable throwable, @Nullable Map<String, String> metadata) getName()
@Nullable Long
-
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
-
getMessage
-
getStackTrace
-
getRepositoryId
-
getCauseStack
-
getMetadata
-