001/* 002 * geordi 003 * 004 * Copyright (C) 2018 Richard "Shred" Körber 005 * https://github.com/shred/geordi 006 * 007 * This program is free software: you can redistribute it and/or modify 008 * it under the terms of the GNU General Public License as 009 * published by the Free Software Foundation, either version 3 of the 010 * License, or (at your option) any later version. 011 * 012 * This program is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 015 */ 016package org.shredzone.geordi; 017 018/** 019 * A generic exception that is thrown when Geordi discovered an error while reading 020 * sensors. 021 */ 022public class GeordiException extends RuntimeException { 023 private static final long serialVersionUID = -2458855658190084893L; 024 025 public GeordiException(String msg) { 026 super(msg); 027 } 028 029 public GeordiException(Throwable cause) { 030 super(cause); 031 } 032 033 public GeordiException(String msg, Throwable cause) { 034 super(msg, cause); 035 } 036 037}