Skip to content
Snippets Groups Projects
Commit b588d764 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

Implemented input node URI validation and decoding + minor refinements

parent f763e795
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ public class ErrorSummaryFactory {
} else {
result.setHasDetail(true);
result.setDetailMessage(error.getFaultCaptionForDetails()
+ ". "
+ " "
+ detailMessage);
}
......
......@@ -12,10 +12,12 @@ import org.springframework.web.bind.annotation.ResponseStatus;
public abstract class VoSpaceErrorSummarizableException extends VoSpaceException {
VOSpaceFaultEnum fault;
private String detailMessage;
public VoSpaceErrorSummarizableException(String message, VOSpaceFaultEnum fault)
public VoSpaceErrorSummarizableException(String detailMessage, VOSpaceFaultEnum fault)
{
super(fault.getFaultCaptionForDetails() +" " + message);
super(fault.getFaultCaptionForDetails() + " " + detailMessage);
this.detailMessage = detailMessage;
this.fault = fault;
}
......@@ -26,6 +28,6 @@ public abstract class VoSpaceErrorSummarizableException extends VoSpaceException
public String getDetailMessage()
{
return this.getMessage();
return this.detailMessage;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment