com.atlassian.bamboo.logger
Class ThrowableDetails

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

public class ThrowableDetails
extends java.lang.Object
implements java.io.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:
Serialized Form

Method Summary
static ThrowableDetails fromThrowable(java.lang.Throwable throwable)
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 java.lang.String getStackTrace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fromThrowable

public static ThrowableDetails fromThrowable(java.lang.Throwable throwable)

getName

public java.lang.String getName()

getMessage

public java.lang.String getMessage()

getStackTrace

public java.lang.String getStackTrace()


Copyright © 2010 Atlassian. All Rights Reserved.