maven-scm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <>
Subject how to treat Exceptions in ScmResults?
Date Wed, 06 May 2009 21:01:26 GMT


I'm currently implementing the maven-scm-providers-jgit and like to know how others did handle
e.g. CheckOutScmResult for Java implemented SCM connectors. Especially what to do if an Exception
occurred? How do you transport this nested Exception? fill only e.getMessage() or is there
a trick I miss?

Currently I'm doing 
> return new CheckOutScmResult("", "JGit clone failed.", e.getMessage(),  false );
but this doesn't feel ok somehow.

txs and LieGrue,


View raw message