geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r179497 - /geronimo/trunk/specs/activation/src/java/javax/activation/DataHandler.java
Date Thu, 02 Jun 2005 03:34:35 GMT
Author: jboynes
Date: Wed Jun  1 20:34:34 2005
New Revision: 179497

URL: http://svn.apache.org/viewcvs?rev=179497&view=rev
Log:
say why we can't handle this

Modified:
    geronimo/trunk/specs/activation/src/java/javax/activation/DataHandler.java

Modified: geronimo/trunk/specs/activation/src/java/javax/activation/DataHandler.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/activation/src/java/javax/activation/DataHandler.java?rev=179497&r1=179496&r2=179497&view=diff
==============================================================================
--- geronimo/trunk/specs/activation/src/java/javax/activation/DataHandler.java (original)
+++ geronimo/trunk/specs/activation/src/java/javax/activation/DataHandler.java Wed Jun  1
20:34:34 2005
@@ -182,7 +182,7 @@
         public InputStream getInputStream() throws IOException {
             final DataContentHandler dch = getDataContentHandler();
             if (dch == null) {
-                throw new UnsupportedDataTypeException();
+                throw new UnsupportedDataTypeException(mimeType);
             }
             final PipedInputStream is = new PipedInputStream();
             Thread thread = new Thread() {



Mime
View raw message