Work on error handling
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / Pz2Interface.java
index 3de5b68..dbe5f44 100644 (file)
@@ -4,7 +4,7 @@ import java.io.Serializable;
 import java.util.List;\r
 \r
 import com.indexdata.pz2utils4jsf.controls.ResultsPager;\r
-import com.indexdata.pz2utils4jsf.errors.ApplicationError;\r
+import com.indexdata.pz2utils4jsf.errors.ErrorInterface;\r
 import com.indexdata.pz2utils4jsf.pazpar2.data.ByTarget;\r
 import com.indexdata.pz2utils4jsf.pazpar2.data.RecordResponse;\r
 import com.indexdata.pz2utils4jsf.pazpar2.data.ShowResponse;\r
@@ -323,7 +323,7 @@ public interface Pz2Interface extends Serializable {
    * \r
    * @return\r
    */\r
-  public ApplicationError getCommandError();\r
+  public ErrorInterface getCommandError();\r
   \r
   /**\r
    * Returns all errors encountered during configuration of the application, in particular\r
@@ -331,6 +331,6 @@ public interface Pz2Interface extends Serializable {
    * \r
    * @return\r
    */\r
-  public List<ApplicationError> getConfigurationErrors();\r
+  public List<ErrorInterface> getConfigurationErrors();\r
    \r
 }\r