maven tells me i don't need these exception handlers ...

This commit is contained in:
Vincent Batts 2012-10-31 14:45:00 -04:00
parent 1d13db07c5
commit 8e413fa985
4 changed files with 52 additions and 14 deletions

View file

@ -71,12 +71,7 @@ public class App {
public static List<String> hydrateFromBytes(byte[] compressedBlob) {
try {
return Util.hydrateContentPackage(compressedBlob);
} catch (PayloadException ex) {
System.out.println(ex);
}
return null;
return Util.hydrateContentPackage(compressedBlob);
}
public static List<String> hydrateFromFile(String filename) {

View file

@ -98,14 +98,9 @@ public class Util {
*
* Rename it for tracking, and to be clear about what is happening
*/
public static List<String> hydrateContentPackage(byte[] compressedBlob)
throws PayloadException {
try {
PathTree pt = new PathTree(compressedBlob);
return pt.toList();
} catch (Throwable t) {
throw t;
}
public static List<String> hydrateContentPackage(byte[] compressedBlob) {
PathTree pt = new PathTree(compressedBlob);
return pt.toList();
}