blob: 85349a8765a95dca45450603af86cfb609060240 [file] [log] [blame]
/*
* Copyright (c) 2020 Kentyou.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kentyou - initial API and implementation
*/
package org.eclipse.sensinact.gateway.core;
/**
* Exception thrown if a ResourceModel is asked for registration when it is
* already
*
* @author <a href="mailto:christophe.munilla@cea.fr">Christophe Munilla</a>
*/
@SuppressWarnings("serial")
public class ModelAlreadyRegisteredException extends IllegalStateException {
/**
* Constructor
*/
public ModelAlreadyRegisteredException() {
super();
}
/**
* Constructor
*
* @param message
* the error message
*/
public ModelAlreadyRegisteredException(String message) {
super(message);
}
/**
* Constructor
*
* @param cause
* the Throwable object which has caused the triggering of this
* exception
*/
public ModelAlreadyRegisteredException(Throwable cause) {
super(cause);
}
/**
* Constructor
*
* @param message
* the error message
* @param cause
* the Throwable object which has caused the triggering of this
* exception
*/
public ModelAlreadyRegisteredException(String message, Throwable cause) {
super(message, cause);
}
}