com.digitaldan.jomnilinkII.OmniInvalidResponseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jomnilink Show documentation
Show all versions of jomnilink Show documentation
jomnilink - A java library for connecting to HAI/Leviton Omni and Lumina home automation controllers
using the HAI OmniLink II protocol.
The newest version!
/**
* Copyright (c) 2009-2021 Dan Cunningham
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package com.digitaldan.jomnilinkII;
public class OmniInvalidResponseException extends Exception {
private Message response;
public OmniInvalidResponseException(Message response) {
super();
this.response = response;
}
public OmniInvalidResponseException(String message) {
super(message);
}
public Message getInvalidResponse() {
return response;
}
}