View Javadoc
1   package com.atlassian.dbexporter.node.stax;
2   
3   import com.google.common.collect.ImmutableList;
4   
5   import java.util.List;
6   
7   public final class XmlFactoryException extends RuntimeException {
8       private final List<Throwable> throwables;
9   
10      public XmlFactoryException(String s, Throwable... throwables) {
11          super(s, throwables[throwables.length - 1]);
12          this.throwables = ImmutableList.copyOf(throwables);
13      }
14  
15      public List<Throwable> getThrowables() {
16          return throwables;
17      }
18  }