19 package org.sleuthkit.autopsy.integrationtesting;
 
   21 import org.apache.commons.lang.exception.ExceptionUtils;
 
   26 class ExceptionObject {
 
   28     private final String message;
 
   29     private final String stackTrace;
 
   30     private final ExceptionObject innerException;
 
   32     ExceptionObject(Throwable t) {
 
   33         this.message = t.getMessage();
 
   34         this.stackTrace = ExceptionUtils.getStackTrace(t);
 
   35         this.innerException = (t.getCause() == null) ? null : 
new ExceptionObject(t.getCause());
 
   41     public String getMessage() {
 
   48     public String getStackTrace() {
 
   55     public ExceptionObject getInnerException() {
 
   56         return innerException;