diff --git a/src/main/java/it/inaf/oats/vospace/exception/InternalFaultException.java b/src/main/java/it/inaf/oats/vospace/exception/InternalFaultException.java new file mode 100644 index 0000000000000000000000000000000000000000..2429c070a061a09f10ea8eb712c1993847dcd1f8 --- /dev/null +++ b/src/main/java/it/inaf/oats/vospace/exception/InternalFaultException.java @@ -0,0 +1,19 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package it.inaf.oats.vospace.exception; + +import org.springframework.http.HttpStatus; +import org.springframework.web.bind.annotation.ResponseStatus; + + +@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) // Status code 500 +public class InternalFaultException extends VoSpaceException { + + public InternalFaultException(String msg) { + super("InternalFaultException: " + msg); + } + +}