You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
572 B

8 years ago
  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. public class PoolException extends Exception {
  12. private static final long serialVersionUID = 3925816328286206059L;
  13. private final String mistake;
  14. public PoolException() {
  15. super();
  16. mistake = "unknown to men";
  17. }
  18. public PoolException(String err) {
  19. super(err); // call super class constructor
  20. mistake = err; // save message
  21. }
  22. public String getError() {
  23. return mistake;
  24. }
  25. }