001    package org.hackystat.sensorshell;
002    
003    
004    /**
005     * An exception that is thrown when problems occur with instantiating SensorShellProperties or 
006     * sending sensor data. 
007     * @author Aaron A. Kagawa, Philip Johnson
008     */
009    public class SensorShellException extends Exception {
010    
011      /** The default serial version UID. */
012      private static final long serialVersionUID = 1L;
013      
014      /**
015       * Thrown when a SensorProperties instance cannot be created.
016       * @param message The message indicating the problem. 
017       */
018      public SensorShellException(String message) {
019        super(message);
020      }
021      
022      /**
023       * Thrown when a SensorProperties instance cannot be created.
024       * @param message The message indicating the problem. 
025       * @param e The exception.
026       */
027      public SensorShellException(String message, Throwable e) {
028        super(message, e);
029      }
030    }