1   package eu.fbk.knowledgestore.datastore.hbase.exception;
2   
3   import java.io.IOException;
4   
5   import javax.annotation.Nullable;
6   
7   public class DataTransactionBlockingException extends IOException {
8   
9       /**
10       * Serialization number
11       */
12      private static final long serialVersionUID = 7782565429476207178L;
13  
14      /**
15       * Creates a new instance with the filename and additional error message specified.
16       * 
17       * @param classname the class name where the exception was raised.
18       * @param message provided additional information, which is concatenated to
19       */
20      public DataTransactionBlockingException(final String classname, @Nullable final String message) {
21          super("Failed while processing a data transaction inside " + classname + "." + (message == null ? "" : " " + message));
22      }
23  }