@@ -0,0 +1,579 @@
+package lejos.nxt;%0A%0A/**%0A * Exception thrown when errors are detected in a sensor device state.%0A * @author andy%0A *%0A */%0Apublic class SensorException extends RuntimeException%0A%7B%0A    /**%0A     * %0A     */%0A    private static final long serialVersionUID = 5846698127613306496L;%0A%0A    public SensorException()%0A    %7B%0A    %7D%0A%0A    public SensorException(String message)%0A    %7B%0A        super (message);%0A    %7D%0A%0A    public SensorException(Throwable cause)%0A    %7B%0A        super (cause);%0A    %7D%0A%0A    public SensorException(String message, Throwable cause)%0A    %7B%0A        super (message, cause);%0A    %7D%0A%7D%0A

Add exception used for sensor errors