676869707172737475
* @return */ protected static HashMap<String, Object> getInfoMap() { HashMap<String, Object> map = infos.get(); if (map == null) { throw new UnexpectedException("Mailer not instrumented ?"); } return map; }
114115116117118119120121
@Override public void onApplicationStop() { try { } catch (Exception e) { throw new UnexpectedException(e); } }
195196197198199200201202
} } catch (Exception e) { if (e instanceof PlayException) { throw (PlayException) e; } throw new UnexpectedException(e); } }
707172737475767778
* @return */ private static HashMap<String, Object> getInfoMap() { HashMap<String, Object> map = infos.get(); if (map == null) { throw new UnexpectedException("Mailer not instrumented ?"); } return map; }
104105106107108109110111
6263646566676869
ZipOutputStream zos = new ZipOutputStream(os); zipDirectory(directory, directory, zos); zos.close(); os.close(); } catch (Exception e) { throw new UnexpectedException(e); } }
5455565758596061
OutputStreamWriter out = new OutputStreamWriter(response.out); template.printTo(out); out.flush(); setContentTypeIfNotSet(response, contentType); } catch (IOException e) { throw new UnexpectedException(e); } }
103104105106107108109110
public void apply(Request request, Response response) { try { setContentTypeIfNotSet(response, "application/json; charset=utf-8"); response.out.write(json.getBytes("utf-8")); } catch (Exception e) { throw new UnexpectedException(e); } }
223224225226227228229230
// v1.1 compliant bw.bind(name, (Type)o.getClass(), params, "", o, o.getClass().getAnnotations()); return (T) o; } catch (Exception e) { throw new UnexpectedException(e); } }
277278279280281282283284
"validation.fieldList.badType", fieldName); ((SienaSupport)o).update(); return (T) o; } catch (Exception e) { throw new UnexpectedException(e); } }