Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgBadArgumentException.java @ 427:31a89587eb04
FIXMEs: consistent names, throws for commands and their handlers. Use of checked exceptions in hi-level api
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 29 Mar 2012 17:14:35 +0200 |
| parents | 981f9f50bb6c |
| children | 0be5be8d57e9 |
comparison
equal
deleted
inserted
replaced
| 426:063b0663495a | 427:31a89587eb04 |
|---|---|
| 32 public class HgBadArgumentException extends HgException { | 32 public class HgBadArgumentException extends HgException { |
| 33 | 33 |
| 34 public HgBadArgumentException(String message, Throwable cause) { | 34 public HgBadArgumentException(String message, Throwable cause) { |
| 35 super(message, cause); | 35 super(message, cause); |
| 36 } | 36 } |
| 37 | |
| 38 @Override | |
| 39 public HgBadArgumentException setRevision(Nodeid r) { | |
| 40 super.setRevision(r); | |
| 41 return this; | |
| 42 } | |
| 37 } | 43 } |
