cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: CXF-5795: Minor update to the exception message
Date Tue, 12 Aug 2014 20:28:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 5b40876ad -> 4e374cc6e


CXF-5795: Minor update to the exception message


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4e374cc6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4e374cc6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4e374cc6

Branch: refs/heads/master
Commit: 4e374cc6e62324d7e201c059c94778f7cfe0f8f4
Parents: 5b40876
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue Aug 12 21:27:34 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue Aug 12 21:27:34 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4e374cc6/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
index 51ff48d..373ffae 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
@@ -385,7 +385,7 @@ public final class ResponseImpl extends Response {
         } 
         
         throw new IllegalStateException("The entity is not backed by an input stream, entity
class is : "
-            + (entity != null ? entity.getClass().getName() : null));
+            + (entity != null ? entity.getClass().getName() : cls.getName()));
         
     }
     


Mime
View raw message