Lines Matching refs:ex

200 	} catch (MalformedURLException ex) {  in serializeServiceStore()
205 } catch (UnsupportedEncodingException ex) { in serializeServiceStore()
210 } catch (IOException ex) { in serializeServiceStore()
213 new Object[] {URL, ex}); in serializeServiceStore()
215 } catch (ServiceLocationException ex) { in serializeServiceStore()
218 new Object[] {URL, ex.getMessage()}); in serializeServiceStore()
244 } catch (MalformedURLException ex) { in getStoreFromURL()
249 } catch (UnsupportedEncodingException ex) { in getStoreFromURL()
254 } catch (IOException ex) { in getStoreFromURL()
259 ex.getMessage()}); in getStoreFromURL()
261 } catch (ServiceLocationException ex) { in getStoreFromURL()
266 ex.getMessage()}); in getStoreFromURL()
360 } catch (ServiceLocationException ex) { in registerStore()
362 String msg = ex.getMessage(); in registerStore()
366 new Integer(ex.getErrorCode()), in registerStore()
370 } catch (Exception ex) { in registerStore()
372 String msg = ex.getMessage(); in registerStore()
481 } catch (RuntimeException ex) { in ageStore()
483 reportNonfatalException(ex, new Vector(), store); in ageStore()
485 } catch (ServiceLocationException ex) { in ageStore()
487 reportNonfatalException(ex, new Vector(), store); in ageStore()
690 } catch (ServiceLocationException ex) { in register()
696 ex.getMessage()+"("+ex.getErrorCode()+")", in register()
704 return hdr.makeErrorReply(ex); in register()
706 } catch (RuntimeException ex) { in register()
715 reportNonfatalException(ex, args, store); in register()
717 return hdr.makeErrorReply(ex); in register()
829 } catch (ServiceLocationException ex) { in deregister()
836 ex.getMessage()+"("+ex.getErrorCode()+")", in deregister()
843 return hdr.makeErrorReply(ex); in deregister()
845 } catch (RuntimeException ex) { in deregister()
854 reportNonfatalException(ex, args, store); in deregister()
856 return hdr.makeErrorReply(ex); in deregister()
908 } catch (ServiceLocationException ex) { in findServiceTypes()
914 ex.getMessage()+"("+ex.getErrorCode()+")", in findServiceTypes()
920 return hdr.makeErrorReply(ex); in findServiceTypes()
922 } catch (RuntimeException ex) { in findServiceTypes()
931 reportNonfatalException(ex, args, store); in findServiceTypes()
933 return hdr.makeErrorReply(ex); in findServiceTypes()
1017 } catch (ServiceLocationException ex) { in findServices()
1023 ex.getMessage()+"("+ex.getErrorCode()+")", in findServices()
1030 return hdr.makeErrorReply(ex); in findServices()
1032 } catch (RuntimeException ex) { in findServices()
1041 reportNonfatalException(ex, args, store); in findServices()
1043 return hdr.makeErrorReply(ex); in findServices()
1159 } catch (ServiceLocationException ex) { in findAttributes()
1166 ex.getMessage()+"("+ex.getErrorCode()+")", in findAttributes()
1174 return hdr.makeErrorReply(ex); in findAttributes()
1176 } catch (RuntimeException ex) { in findAttributes()
1185 reportNonfatalException(ex, args, store); in findAttributes()
1187 return hdr.makeErrorReply(ex); in findAttributes()
1391 } catch (ServiceLocationException ex) { in makeDAAdvert()
1393 return hdr.makeErrorReply(ex); in makeDAAdvert()
1564 protected static void reportFatalException(Exception ex) { in reportFatalException() argument
1566 reportException(true, ex, new Vector()); in reportFatalException()
1586 protected static void reportNonfatalException(Exception ex, in reportNonfatalException() argument
1590 reportException(false, ex, args); in reportNonfatalException()
1608 reportException(boolean isFatal, Exception ex, Vector args) { in reportException() argument
1615 ex.printStackTrace(writer); in reportException()
1618 String msg = ex.getMessage(); in reportException()
1623 } else if (ex instanceof ServiceLocationException) { in reportException()
1625 "(" + ((ServiceLocationException)ex).getErrorCode() + ")"; in reportException()
1640 ex.getClass().getName(), in reportException()