Author: erodriguez
Date: Tue Feb 8 20:44:16 2005
New Revision: 153002
URL: http://svn.apache.org/viewcvs?view=rev&rev=153002
Log:
Name expiry exception was not using template constant.
Modified:
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KdcErrorNameExpiry.java
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KerberosException.java
Modified:
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KdcErrorNameExpiry.java
URL:
http://svn.apache.org/viewcvs/incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KdcErrorNameExpiry.java?view=diff&r1=153001&r2=153002
==============================================================================
---
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KdcErrorNameExpiry.java
(original)
+++
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KdcErrorNameExpiry.java
Tue Feb 8 20:44:16 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation
+ * Copyright 2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
* limitations under the License.
*
*/
-package org.apache.kerberos.exception;
+package org.apache.kerberos.exception;
/**
* A Kerberos exception representing the expiration of a client entry within
the
@@ -39,6 +39,7 @@
*/
public KdcErrorNameExpiry()
{
- super( 1, MSG );
+ super( CODE, MSG );
}
}
+
Modified:
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KerberosException.java
URL:
http://svn.apache.org/viewcvs/incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KerberosException.java?view=diff&r1=153001&r2=153002
==============================================================================
---
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KerberosException.java
(original)
+++
incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/exception/KerberosException.java
Tue Feb 8 20:44:16 2005
@@ -14,8 +14,8 @@
* limitations under the License.
*
*/
-package org.apache.kerberos.exception;
+package org.apache.kerberos.exception;
/**
* The root of the Kerberos exception hierarchy.
@@ -74,3 +74,4 @@
return this.errCode;
}
}
+