harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r833408 - /harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/org/apache/harmony/auth/internal/kerberos/v5/KrbClient.java
Date Fri, 06 Nov 2009 14:29:25 GMT
Author: tellison
Date: Fri Nov  6 14:29:25 2009
New Revision: 833408

URL: http://svn.apache.org/viewvc?rev=833408&view=rev
Log:
Ensure the exceptions are thrown when things go wrong.

Modified:
    harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/org/apache/harmony/auth/internal/kerberos/v5/KrbClient.java

Modified: harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/org/apache/harmony/auth/internal/kerberos/v5/KrbClient.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/org/apache/harmony/auth/internal/kerberos/v5/KrbClient.java?rev=833408&r1=833407&r2=833408&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/org/apache/harmony/auth/internal/kerberos/v5/KrbClient.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/org/apache/harmony/auth/internal/kerberos/v5/KrbClient.java
Fri Nov  6 14:29:25 2009
@@ -157,14 +157,12 @@
                 throw new KerberosException(Messages.getString(
                         "auth.52", errMsg.getErrorCode())); //$NON-NLS-1$
             } else {
-                new KerberosException(); //FIXME
+                throw new KerberosException(); //FIXME
             }
 
         } catch (IOException e) {
-            new KerberosException(e.getMessage()); //FIXME 
+            throw new KerberosException(e.getMessage()); //FIXME 
         }
-
-        return null;
     }
 
     public static KDCReply doTGS() throws KerberosException {



Mime
View raw message