You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by gp...@apache.org on 2013/01/04 14:49:17 UTC

[2/2] git commit: minor cleanup

Updated Branches:
  refs/heads/master a8347771e -> 7bf5691fd


minor cleanup


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/7bf5691f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/7bf5691f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/7bf5691f

Branch: refs/heads/master
Commit: 7bf5691fdd339f6618a7aa31e5f8dbedd722c5f8
Parents: 6783a3d
Author: gpetracek <gp...@apache.org>
Authored: Fri Jan 4 14:47:05 2013 +0100
Committer: gpetracek <gp...@apache.org>
Committed: Fri Jan 4 14:47:05 2013 +0100

----------------------------------------------------------------------
 .../deltaspike/core/util/ExceptionUtils.java       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/7bf5691f/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ExceptionUtils.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ExceptionUtils.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ExceptionUtils.java
index 40e18d5..1d0ce96 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ExceptionUtils.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ExceptionUtils.java
@@ -32,7 +32,8 @@ public abstract class ExceptionUtils
 
     public static RuntimeException throwAsRuntimeException(Throwable throwable)
     {
-        //Attention: helper which allows to use a trick to throw a cached checked exception without a wrapping exception
+        //Attention: helper which allows to use a trick to throw
+        // a catched checked exception without a wrapping exception
         new ExceptionHelper<RuntimeException>().throwException(throwable);
         return null; //not needed due to the helper trick, but it's easier for using it
     }