Allow exceptions to be created with integer type codes
commitebe9b3bdcf872d6e1776745fa9bec95be8dbc6eb
authorShawn O. Pearce <spearce@spearce.org>
Fri, 12 Jun 2009 23:00:16 +0000 (12 16:00 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 14 Jun 2009 20:41:30 +0000 (14 22:41 +0200)
tree98c2af12f9774e2853975670f322757d7d75741e
parent060df750695b9ef98fc27c60565e3c9569c2f0fb
Allow exceptions to be created with integer type codes

This may be easier in some contexts where we have the type code
we expect handy, but not the type string constant.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/errors/IncorrectObjectTypeException.java
org.spearce.jgit/src/org/spearce/jgit/errors/MissingObjectException.java