Source code: com/flexstor/common/gateway/exceptions/TransactionFailedException.java
1 /*
2 * TransactionFailedException.java
3 *
4 * Copyright $Date: 2003/08/11 02:22:48 $ FLEXSTOR.net Inc.
5 *
6 * This work is licensed for use and distribution under license terms found at
7 * http://www.flexstor.org/license.html
8 *
9 */
10
11 package com.flexstor.common.gateway.exceptions;
12
13 /**
14 * Thrown when a transaction with the server fails. Contains all details of that failure.
15 * @author Dan Schroeder
16 * @version 3.0
17 */
18 public class TransactionFailedException
19 extends Exception
20 {
21 private Throwable originalException;
22
23 public TransactionFailedException ( Throwable originalException )
24 {
25 this.originalException = originalException;
26 }
27
28 public Throwable getOriginalException ( )
29 {
30 return originalException;
31 }
32 }