~jstys-z/helioviewer.org/timeline

« back to all changes in this revision

Viewing changes to timeline/exporting-server/java/highcharts-export/highcharts-export-convert/src/main/java/com/highcharts/export/pool/PoolException.java

  • Committer: Jeff Stys
  • Date: 2014-04-21 12:46:26 UTC
  • Revision ID: jstys@sesda3.com-20140421124626-2332pb2dyjc33jxi
Proof-of-concept version of Data Coverage Timeline using Highchart/Highstock javascript library.  Changes to getDataCoverage API in order to feed the necessary data to the Timeline

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * @license Highcharts JS v2.3.3 (2012-11-02)
 
3
 *
 
4
 * (c) 20012-2014
 
5
 *
 
6
 * Author: Gert Vaartjes
 
7
 *
 
8
 * License: www.highcharts.com/license
 
9
 */
 
10
package com.highcharts.export.pool;
 
11
 
 
12
public class PoolException extends Exception {
 
13
 
 
14
        private static final long serialVersionUID = 3925816328286206059L;
 
15
        private final String mistake;
 
16
 
 
17
        public PoolException() {
 
18
                super();
 
19
                mistake = "unknown to men";
 
20
        }
 
21
 
 
22
        public PoolException(String err) {
 
23
                super(err); // call super class constructor
 
24
                mistake = err; // save message
 
25
        }
 
26
 
 
27
        public String getError() {
 
28
                return mistake;
 
29
        }
 
30
 
 
31
}