Skip to content
Snippets Groups Projects
Commit abff3233 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Handled special chars and added some logging

parent a30d0718
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,15 @@ import org.springframework.web.bind.annotation.ResponseStatus;
public class InvalidURIException extends VoSpaceException {
public InvalidURIException(String URI, String path) {
super("InvalidURI. Payload node URI: " + URI +
" is not consistent with request path: " + path);
super("InvalidURI. Payload node URI: " + URI
+ " is not consistent with request path: " + path);
}
public InvalidURIException(String URI)
{
public InvalidURIException(String URI) {
super("InvalidURI. URI: " + URI + " is not in a valid format");
}
public InvalidURIException(IllegalArgumentException ex) {
super("InvalidURI. " + ex.getMessage());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment