Revision 6612
Added by ben leinfelder about 13 years ago
test/edu/ucsb/nceas/metacat/dataone/MNodeServiceTest.java | ||
---|---|---|
718 | 718 |
e.printStackTrace(); |
719 | 719 |
fail("Unexpected error: " + e.getMessage()); |
720 | 720 |
|
721 |
} catch (NotAuthorized e) {
|
|
721 |
} catch (InsufficientResources e) {
|
|
722 | 722 |
e.printStackTrace(); |
723 | 723 |
fail("Unexpected error: " + e.getMessage()); |
724 | 724 |
|
725 |
} catch (InvalidRequest e) { |
|
726 |
e.printStackTrace(); |
|
727 |
fail("Unexpected error: " + e.getMessage()); |
|
728 |
|
|
729 |
} catch (InsufficientResources e) { |
|
730 |
e.printStackTrace(); |
|
731 |
fail("Unexpected error: " + e.getMessage()); |
|
732 |
|
|
733 |
} catch (UnsupportedType e) { |
|
734 |
e.printStackTrace(); |
|
735 |
fail("Unexpected error: " + e.getMessage()); |
|
736 |
|
|
737 | 725 |
} |
738 | 726 |
|
739 | 727 |
} |
Also available in: Unified diff
remove catch blocks for unthrown exceptions