View Javadoc

1   package net.sf.mavenhist.persistency;
2   
3   /**
4    * Exception type to show a problem in persisting a metric.
5    */
6   public class PersistencyException extends Exception {
7   
8     /**
9      * Constructor with a message text for the exception.
10     * @param msg message for the exception.
11     */
12    public PersistencyException(String msg) {
13      this(msg, null);
14    }
15  
16    /**
17     * Constructor with a message text and a wrapped cause for the exception.
18     * @param msg message for the exception.
19     * @param cause the root exception.
20     */
21    public PersistencyException(String msg, Exception cause) {
22      super(msg, cause);
23    }
24  }