X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=dashboard%2Fwebapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fexceptions%2FHttpInternalServerErrorException.java;fp=dashboard%2Fwebapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fexceptions%2FHttpInternalServerErrorException.java;h=474fe2a789e71a4934b498b974dad25dc1dfb57b;hb=238fd97d5c8320cc8a53e04e04cfd39dcf900c4e;hp=0000000000000000000000000000000000000000;hpb=3b1e23945b9426ad7aaacfc3794e15286d82c816;p=nonrtric.git diff --git a/dashboard/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/exceptions/HttpInternalServerErrorException.java b/dashboard/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/exceptions/HttpInternalServerErrorException.java new file mode 100644 index 00000000..474fe2a7 --- /dev/null +++ b/dashboard/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/exceptions/HttpInternalServerErrorException.java @@ -0,0 +1,37 @@ +/*- + * ========================LICENSE_START================================= + * O-RAN-SC + * %% + * Copyright (C) 2019 Nordix Foundation + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================LICENSE_END=================================== + */ +package org.oransc.ric.portal.dashboard.exceptions; + +import org.springframework.http.HttpStatus; +import org.springframework.web.bind.annotation.ResponseStatus; + +@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) +public class HttpInternalServerErrorException extends RuntimeException { + + /** + * + */ + private static final long serialVersionUID = 6821547799515184764L; + + public HttpInternalServerErrorException(String message) { + super(message); + } + +}