aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/library/viewer/LibraryViewerPanel.java
diff options
context:
space:
mode:
authorMatt Windsor <mattwindsor@btinternet.com>2011-03-19 17:25:07 +0000
committerMatt Windsor <mattwindsor@btinternet.com>2011-03-19 17:25:07 +0000
commit8f0360d9e72843d527b2db28047ae5f0498f3a3e (patch)
tree3ceb39d46aae2b913c1999e636cd282d93622b5c /src/uk/org/ury/library/viewer/LibraryViewerPanel.java
parent410219d08abdb859315c4d6d0e0375287d64a88b (diff)
Library viewer now retrieves tracks from server. Code will need a LOT of cleanup, but this is a triumph. I'm making a note here-- huge success.
Diffstat (limited to 'src/uk/org/ury/library/viewer/LibraryViewerPanel.java')
-rw-r--r--src/uk/org/ury/library/viewer/LibraryViewerPanel.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uk/org/ury/library/viewer/LibraryViewerPanel.java b/src/uk/org/ury/library/viewer/LibraryViewerPanel.java
index 79b5902..e05164e 100644
--- a/src/uk/org/ury/library/viewer/LibraryViewerPanel.java
+++ b/src/uk/org/ury/library/viewer/LibraryViewerPanel.java
@@ -177,6 +177,7 @@ public class LibraryViewerPanel extends FrontendModulePanel
{
searchFailureMessage = String.format (rb.getString ("ERR_SEARCH_FAILED"),
searchTerm, e.getMessage ());
+ return false;
}
catch (EmptySearchException e)
{
@@ -206,11 +207,12 @@ public class LibraryViewerPanel extends FrontendModulePanel
}
catch (InterruptedException e)
{
- // Ignore
+ e.printStackTrace ();
}
catch (ExecutionException e)
{
- // Ignore
+ searchFailureMessage = String.format (rb.getString ("ERR_SEARCH_FAILED"),
+ searchTerm, e.getMessage ());
}