Repository: empire-db
Updated Branches:
  refs/heads/master 54ee4d6dc -> 0fba96742


EMPIREDB-235
new override


Project: http://git-wip-us.apache.org/repos/asf/empire-db/repo
Commit: http://git-wip-us.apache.org/repos/asf/empire-db/commit/0fba9674
Tree: http://git-wip-us.apache.org/repos/asf/empire-db/tree/0fba9674
Diff: http://git-wip-us.apache.org/repos/asf/empire-db/diff/0fba9674

Branch: refs/heads/master
Commit: 0fba96742533224a72b13c6629443ea19798cedb
Parents: 54ee4d6
Author: Rainer Döbele <[email protected]>
Authored: Mon Feb 15 12:16:30 2016 +0100
Committer: Rainer Döbele <[email protected]>
Committed: Mon Feb 15 12:16:30 2016 +0100

----------------------------------------------------------------------
 .../org/apache/empire/exceptions/NotSupportedException.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/empire-db/blob/0fba9674/empire-db/src/main/java/org/apache/empire/exceptions/NotSupportedException.java
----------------------------------------------------------------------
diff --git 
a/empire-db/src/main/java/org/apache/empire/exceptions/NotSupportedException.java
 
b/empire-db/src/main/java/org/apache/empire/exceptions/NotSupportedException.java
index 19db9bb..307adfc 100644
--- 
a/empire-db/src/main/java/org/apache/empire/exceptions/NotSupportedException.java
+++ 
b/empire-db/src/main/java/org/apache/empire/exceptions/NotSupportedException.java
@@ -29,6 +29,11 @@ public class NotSupportedException extends EmpireException
     
     public static final ErrorType errorType = new 
ErrorType("error.notSupported", "The function {0} is not supported for type 
{1}.");
     
+    public NotSupportedException(Object object, String functionName, Exception 
e)
+    {
+        super(errorType, new String[] { functionName, (object!=null ? 
object.getClass().getName() : "{unknown}") }, e);
+    }
+    
     public NotSupportedException(Object object, String functionName)
     {
         super(errorType, new String[] { functionName, (object!=null ? 
object.getClass().getName() : "{unknown}") });

Reply via email to