use of de.janrufmonitor.fritzbox.firmware.exception.CreateSessionIDException in project janrufmonitor by tbrandt77.
the class FritzOSFirmware method init.
public void init() throws FritzBoxInitializationException, FritzBoxNotFoundException, InvalidSessionIDException {
try {
this.createSessionID();
this.m_firmware = this.detectFritzBoxFirmware();
} catch (CreateSessionIDException e) {
throw new FritzBoxInitializationException("FritzBox initialization failed: " + e.getMessage());
} catch (FritzBoxDetectFirmwareException e) {
throw new FritzBoxInitializationException("FritzBox initialization failed: " + e.getMessage());
}
}
use of de.janrufmonitor.fritzbox.firmware.exception.CreateSessionIDException in project janrufmonitor by tbrandt77.
the class UnitymediaFirmware method init.
public void init() throws FritzBoxInitializationException, FritzBoxNotFoundException, InvalidSessionIDException {
try {
this.createSessionID();
this.m_firmware = this.detectFritzBoxFirmware();
} catch (CreateSessionIDException e) {
throw new FritzBoxInitializationException("FritzBox initialization failed: " + e.getMessage());
} catch (FritzBoxDetectFirmwareException e) {
throw new FritzBoxInitializationException("FritzBox initialization failed: " + e.getMessage());
}
}
Aggregations