Commit abff3233 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Handled special chars and added some logging

parent a30d0718
......@@ -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)
{
super("InvalidURI. URI: "+URI+ " is not in a valid format");
public InvalidURIException(String URI) {
super("InvalidURI. URI: " + URI + " is not in a valid format");
}
public InvalidURIException(IllegalArgumentException ex) {
super("InvalidURI. " + ex.getMessage());
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment