directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1043906 - in /directory: apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/ apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/ticketgrant/ shared/trunk/ldap-sche...
Date Thu, 09 Dec 2010 11:51:08 GMT
Author: elecharny
Date: Thu Dec  9 11:51:07 2010
New Revision: 1043906

URL: http://svn.apache.org/viewvc?rev=1043906&view=rev
Log:
Removed some spurious printStackTrace

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
    directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/ticketgrant/TicketGrantingService.java
    directory/shared/trunk/ldap-schema/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java?rev=1043906&r1=1043905&r2=1043906&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosDecoder.java
Thu Dec  9 11:51:07 2010
@@ -262,7 +262,6 @@ public class KerberosDecoder extends Pro
         }
         catch ( DecoderException de )
         {
-            de.printStackTrace();
             throw new KerberosException( ErrorType.KRB_AP_ERR_BAD_INTEGRITY, de );
         }
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java?rev=1043906&r1=1043905&r2=1043906&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
Thu Dec  9 11:51:07 2010
@@ -51,20 +51,7 @@ public class KerberosEncoder extends Pro
         }
         catch( EncoderException e )
         {
-            e.printStackTrace();
+            throw new IOException(e.getMessage(), e);
         }
-        
-//        if ( message instanceof KdcReply )
-//        {
-//            replyEncoder.encode( ( KdcReply ) message, buf.buf() );
-//        }
-//        else
-//        {
-//            if ( message instanceof ErrorMessage )
-//            {
-//                errorEncoder.encode( ( ErrorMessage ) message, buf.buf() );
-//            }
-//        }
-
     }
 }

Modified: directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/ticketgrant/TicketGrantingService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/ticketgrant/TicketGrantingService.java?rev=1043906&r1=1043905&r2=1043906&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/ticketgrant/TicketGrantingService.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/ticketgrant/TicketGrantingService.java
Thu Dec  9 11:51:07 2010
@@ -288,7 +288,6 @@ public class TicketGrantingService
             }
             catch( EncoderException e )
             {
-                e.printStackTrace();
                 throw new KerberosException( ErrorType.KRB_AP_ERR_INAPP_CKSUM );
             }
             

Modified: directory/shared/trunk/ldap-schema/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-schema/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java?rev=1043906&r1=1043905&r2=1043906&view=diff
==============================================================================
--- directory/shared/trunk/ldap-schema/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java
(original)
+++ directory/shared/trunk/ldap-schema/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java
Thu Dec  9 11:51:07 2010
@@ -530,7 +530,6 @@ public class SchemaEntityFactory impleme
         }
         catch ( Exception e )
         {
-            e.printStackTrace();
             throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,
e.getMessage() );
         }
     }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java?rev=1043906&r1=1043905&r2=1043906&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Thu Dec  9 11:51:07 2010
@@ -1607,7 +1607,6 @@ public class LdifReader implements Itera
         }
         catch ( LdapException le )
         {
-            le.printStackTrace();
             throw new LdapLdifException( le.getMessage() );
         }
         finally



Mime
View raw message