if (!started) { throw new SmartFrogLivenessException( "Application Server not started");
if(caughtException!=null) { throw (SmartFrogLivenessException)SmartFrogLivenessException.forward(caughtException);
    public void sfPing(Object source)            throws SmartFrogLivenessException, RemoteException {        super.sfPing(source);        if (!started) {            throw new SmartFrogLivenessException(                    "Application Server not started");        }        State state = container.getState();        if (state.isStopped()) {            throw new SmartFrogLivenessException(                    "Application Server has stopped");        }    }