comparison src/org/tmatesoft/hg/core/HgCallbackTargetException.java @ 403:2747b0723867

FIXMEs: work on exceptions and javadoc
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 05 Mar 2012 14:50:51 +0100
parents f52ca9530774
children 9c9c442b5f2e
comparison
equal deleted inserted replaced
402:1fcc7f7b6d65 403:2747b0723867
65 public String getMessage() { 65 public String getMessage() {
66 StringBuilder sb = new StringBuilder(); 66 StringBuilder sb = new StringBuilder();
67 sb.append("Original exception thrown: "); 67 sb.append("Original exception thrown: ");
68 sb.append(getCause().getClass().getName()); 68 sb.append(getCause().getClass().getName());
69 sb.append(" at "); 69 sb.append(" at ");
70 appendDetails(sb); 70 extras.appendDetails(sb);
71 return sb.toString(); 71 return sb.toString();
72 } 72 }
73 73
74 @Override 74 @Override
75 public HgCallbackTargetException setRevision(Nodeid r) { 75 public HgCallbackTargetException setRevision(Nodeid r) {