Adds distinction between pz2 and sp errors
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / errors / ConfigurationError.java
index 575893b..b844549 100644 (file)
@@ -3,7 +3,7 @@ package com.indexdata.mkjsf.errors;
 import java.util.List;\r
 \r
 import com.indexdata.mkjsf.errors.ErrorHelper.ErrorCode;\r
-import com.indexdata.mkjsf.pazpar2.data.Pazpar2Error;\r
+import com.indexdata.mkjsf.pazpar2.data.ServiceError;\r
 \r
 \r
 public class ConfigurationError implements ErrorInterface {\r
@@ -55,11 +55,11 @@ public class ConfigurationError implements ErrorInterface {
     return applicationErrorCode;\r
   }\r
   \r
-  public boolean hasPazpar2Error () {\r
+  public boolean isServiceError () {\r
     return false;\r
   }\r
   \r
-  public Pazpar2Error getPazpar2Error() {\r
+  public ServiceError getServiceError() {\r
     return null;\r
   }\r
  \r