5556575859606162
public Object pop() { try { return list.removeLast(); } catch (NoSuchElementException e) { throw new BaseException("Cannot pop element from the empty stack!", e); } }
125126127128129130131
if (format != null) { SimpleDateFormat formatter = new SimpleDateFormat(format.toString()); return formatter.format( new Date() ); } throw new BaseException("Cannot return datetime for null format!"); }
151152153154155156157
public String escapeXml(Object s) { if (s != null) { return CommonUtil.escapeXml(s.toString()); } throw new BaseException("Cannot escape XML for null argumant!"); }
164165166167168169170
public String fullUrl(Object pageUrl, Object link) { if (pageUrl != null && link != null) { return CommonUtil.fullUrl(pageUrl.toString(), link.toString()); } throw new BaseException("Cannot make full url for null argumants!"); }