blob: 7d2e7683753b0548a561c1d9309a734dcd2800f4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013-2016 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* 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
*
* Initial Contributors:
* Thierry Monteil : Project manager, technical co-manager
* Mahdi Ben Alaya : Technical co-manager
* Samir Medjiah : Technical co-manager
* Khalil Drira : Strategy expert
* Guillaume Garzone : Developer
* François Aïssaoui : Developer
*
* New contributors :
*******************************************************************************/
package org.eclipse.om2m.commons.exceptions;
import org.eclipse.om2m.commons.constants.ResponseStatusCode;
/**
* Represent a requested resource that has not been found by the CSE.
*
*/
public class ResourceNotFoundException extends Om2mException {
private static final long serialVersionUID = 97051750274646057L;
public ResourceNotFoundException() {
super("Resource not found", ResponseStatusCode.NOT_FOUND);
}
public ResourceNotFoundException(String message){
super(message, ResponseStatusCode.NOT_FOUND);
}
public ResourceNotFoundException(String message, Throwable cause){
super(message, cause, ResponseStatusCode.NOT_FOUND);
}
}