Examples of GRTCANJaguarException


Examples of com.grt192.actuator.exception.GRTCANJaguarException

        listeners.removeElement(l);
    }

    /** Notifies all CANTimeoutListeners that a CANTimeoutException has occurred **/
    public void notifyCANTimeout() {
        GRTCANJaguarException ex = new GRTCANJaguarException(GRTCANJaguarException.CAN_TIMEOUT, this);
        for (int i = 0; i < listeners.size(); i++) {
            ((CANTimeoutListener) listeners.elementAt(i)).CANTimedOut(ex);
        }
    }
View Full Code Here

Examples of com.grt192.actuator.exception.GRTCANJaguarException

        }
    }

    /** Notifies all listeners that the jag has a Current fault **/
    private void notifyCurrentFault() {
        GRTCANJaguarException ex = new GRTCANJaguarException(GRTCANJaguarException.CURRENT_FAULT, jag);
        for (int i = 0; i < listeners.size(); i++) {
            ((CANJaguarFaultListener) listeners.elementAt(i)).jagCurrentFault(ex);
        }
    }
View Full Code Here

Examples of com.grt192.actuator.exception.GRTCANJaguarException

        }
    }

    /** Notifies all listeners that the jag has a Temperature fault **/
    private void notifyTemperatureFault() {
        GRTCANJaguarException ex = new GRTCANJaguarException(GRTCANJaguarException.TEMPERATURE_FAULT, jag);
        for (int i = 0; i < listeners.size(); i++) {
            ((CANJaguarFaultListener) listeners.elementAt(i)).jagTemperatureFault(ex);
        }
    }
View Full Code Here

Examples of com.grt192.actuator.exception.GRTCANJaguarException

        }
    }

    /** Notifies all listeners that the jag has a voltage fault **/
    private void notifyVoltageFault() {
        GRTCANJaguarException ex = new GRTCANJaguarException(GRTCANJaguarException.VOLTAGE_FAULT, jag);
        for (int i = 0; i < listeners.size(); i++) {
            ((CANJaguarFaultListener) listeners.elementAt(i)).jagBusVoltageFault(ex);
        }
    }
View Full Code Here

Examples of com.grt192.actuator.exception.GRTCANJaguarException

        }
    }

    /** Notifies all listeners that the jag has a GateDriver fault **/
    private void notifyGateDriverFault() {
        GRTCANJaguarException ex = new GRTCANJaguarException(GRTCANJaguarException.GATE_DRIVER_FAULT, jag);
        for (int i = 0; i < listeners.size(); i++) {
            ((CANJaguarFaultListener) listeners.elementAt(i)).jagGateDriverFault(ex);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.