// Path: 52n-sps-api/src/main/java/org/n52/sps/service/InternalServiceException.java
// public abstract class InternalServiceException extends Exception {
//     
//     private static final long serialVersionUID = -1598594769157092219L;
//     
//     public static final int BAD_REQUEST = 400;
//     
//     private List<String> detailedMessages = new ArrayList<String>();
//     private String exceptionCode;
//     private String locator;
// 
//     public InternalServiceException(String exceptionCode, String locator) {
//         this.exceptionCode = exceptionCode;
//         this.locator = locator;
//     }
// 
//     public String getExceptionCode() {
//         return exceptionCode;
//     }
// 
//     public void setExceptionCode(String exceptionCode) {
//         this.exceptionCode = exceptionCode;
//     }
// 
//     public String getLocator() {
//         return locator;
//     }
// 
//     public void setLocator(String locator) {
//         this.locator = locator;
//     }
// 
//     public void addDetailedMessage(String detailedMessage) {
//         detailedMessages.add(detailedMessage);
//     }
//     
//     public Iterable<String> getDetailedMessages() {
//         return detailedMessages;
//     }
// 
//     public abstract int getHttpStatusCode();
// 
//     
// }
// 
// Path: 52n-sps-api/src/main/java/org/n52/sps/service/InternalServiceExceptionCode.java
// public enum InternalServiceExceptionCode {
//     
//     WRONG_PLUGIN_TYPE_RELATION("WrongPluginTypeRelation"),
//     MISSING_SENSOR_INFORMATION("MissingSensorInformation"),
//     UNKNOWN_SERVICE_INSTANCE("UnknownServiceInstance");
// 
//     private String exceptionCode;
//     
//     private InternalServiceExceptionCode(String exceptionCode) {
//         this.exceptionCode = exceptionCode;
//     }
// 
//     public String getExceptionCode() {
//         return exceptionCode;
//     }
// }


import org.n52.sps.service.InternalServiceException;
import org.n52.sps.service.InternalServiceExceptionCode;

/**
 * ﻿Copyright (C) 2012-${latestYearOfContribution} 52°North Initiative for Geospatial Open Source
 * Software GmbH
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 2 as publishedby the Free
 * Software Foundation.
 *
 * If the program is linked with libraries which are licensed under one of the
 * following licenses, the combination of the program with the linked library is
 * not considered a "derivative work" of the program:
 *
 *     - Apache License, version 2.0
 *     - Apache Software License, version 1.0
 *     - GNU Lesser General Public License, version 3
 *     - Mozilla Public License, versions 1.0, 1.1 and 2.0
 *     - Common Development and Distribution License (CDDL), version 1.0
 *
 * Therefore the distribution of the program linked with libraries licensed under
 * the aforementioned licenses, is permitted by the copyright holders if the
 * distribution is compliant with both the GNU General Public License version 2
 * and the aforementioned licenses.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
 */
package org.n52.sps.service.admin;


public class MissingSensorInformationException extends InternalServiceException {

    private static final long serialVersionUID = -7661454857813095434L;

    public MissingSensorInformationException(String locator) {

// Path: 52n-sps-api/src/main/java/org/n52/sps/service/InternalServiceException.java
// public abstract class InternalServiceException extends Exception {
//     
//     private static final long serialVersionUID = -1598594769157092219L;
//     
//     public static final int BAD_REQUEST = 400;
//     
//     private List<String> detailedMessages = new ArrayList<String>();
//     private String exceptionCode;
//     private String locator;
// 
//     public InternalServiceException(String exceptionCode, String locator) {
//         this.exceptionCode = exceptionCode;
//         this.locator = locator;
//     }
// 
//     public String getExceptionCode() {
//         return exceptionCode;
//     }
// 
//     public void setExceptionCode(String exceptionCode) {
//         this.exceptionCode = exceptionCode;
//     }
// 
//     public String getLocator() {
//         return locator;
//     }
// 
//     public void setLocator(String locator) {
//         this.locator = locator;
//     }
// 
//     public void addDetailedMessage(String detailedMessage) {
//         detailedMessages.add(detailedMessage);
//     }
//     
//     public Iterable<String> getDetailedMessages() {
//         return detailedMessages;
//     }
// 
//     public abstract int getHttpStatusCode();
// 
//     
// }
// 
// Path: 52n-sps-api/src/main/java/org/n52/sps/service/InternalServiceExceptionCode.java
// public enum InternalServiceExceptionCode {
//     
//     WRONG_PLUGIN_TYPE_RELATION("WrongPluginTypeRelation"),
//     MISSING_SENSOR_INFORMATION("MissingSensorInformation"),
//     UNKNOWN_SERVICE_INSTANCE("UnknownServiceInstance");
// 
//     private String exceptionCode;
//     
//     private InternalServiceExceptionCode(String exceptionCode) {
//         this.exceptionCode = exceptionCode;
//     }
// 
//     public String getExceptionCode() {
//         return exceptionCode;
//     }
// }


// Path: 52n-sps-api/src/main/java/org/n52/sps/service/admin/MissingSensorInformationException.java
import org.n52.sps.service.InternalServiceException;
import org.n52.sps.service.InternalServiceExceptionCode;

/**
 * ﻿Copyright (C) 2012-${latestYearOfContribution} 52°North Initiative for Geospatial Open Source
 * Software GmbH
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 2 as publishedby the Free
 * Software Foundation.
 *
 * If the program is linked with libraries which are licensed under one of the
 * following licenses, the combination of the program with the linked library is
 * not considered a "derivative work" of the program:
 *
 *     - Apache License, version 2.0
 *     - Apache Software License, version 1.0
 *     - GNU Lesser General Public License, version 3
 *     - Mozilla Public License, versions 1.0, 1.1 and 2.0
 *     - Common Development and Distribution License (CDDL), version 1.0
 *
 * Therefore the distribution of the program linked with libraries licensed under
 * the aforementioned licenses, is permitted by the copyright holders if the
 * distribution is compliant with both the GNU General Public License version 2
 * and the aforementioned licenses.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
 */
package org.n52.sps.service.admin;


public class MissingSensorInformationException extends InternalServiceException {

    private static final long serialVersionUID = -7661454857813095434L;

    public MissingSensorInformationException(String locator) {

        super(InternalServiceExceptionCode.MISSING_SENSOR_INFORMATION.toString(), locator);
