Generalizes and distinguishes - pz2 and sp. Adds auth.
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / errors / ErrorHelper.java
index c80c366..874c50f 100644 (file)
@@ -132,7 +132,13 @@ public class ErrorHelper implements Serializable {
               suggestions.add("Please check the service ID set in the configuration and compare it with the " +\r
                   " configuration on the Pazpar2 server-side.");\r
               addConfigurationDocumentation(suggestions);    \r
-              break;          \r
+              break;\r
+            case "100":\r
+              suggestions.add("Pazpar2 Service Proxy error");\r
+              suggestions.add("A request was made to the Pazpar2 Service Proxy, but the Service Proxy reports ");\r
+              suggestions.add(" that authentication is lacking. Could be no successful authentication request was made or");\r
+              suggestions.add(" that the Service Proxy session timed out.");\r
+              break;\r
             default:\r
               suggestions.add("Pazpar2 error: " + error.getPazpar2Error().getMsg() + " (Pazpar2 # "+error.getPazpar2Error().getCode()+")");\r
           }\r