org.apache.directory.server.changepw.exceptions
Class ChangePasswordException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.server.kerberos.shared.exceptions.KerberosException
              extended by org.apache.directory.server.changepw.exceptions.ChangePasswordException
All Implemented Interfaces:
java.io.Serializable

public class ChangePasswordException
extends KerberosException

The root of the Change Password exception hierarchy.

Version:
$Rev: 434438 $, $Date: 2006-08-24 19:17:02 +0200 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ChangePasswordException(ErrorType errorType)
          Creates a ChangePasswordException with an error code and a message.
ChangePasswordException(ErrorType errorType, byte[] explanatoryData)
          Creates a ChangePasswordException with an error code, a message, and data helping to explain what caused this fault.
ChangePasswordException(int errorCode, java.lang.String msg)
          Creates a ChangePasswordException with an error code and a message.
ChangePasswordException(int errorCode, java.lang.String msg, java.lang.Throwable cause)
          Creates a ChangePasswordException with an error code, a message and an underlying throwable that caused this fault.
 
Method Summary
 
Methods inherited from class org.apache.directory.server.kerberos.shared.exceptions.KerberosException
getErrorCode, getExplanatoryData
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangePasswordException

public ChangePasswordException(int errorCode,
                               java.lang.String msg)
Creates a ChangePasswordException with an error code and a message.

Parameters:
errorCode - the error code associated with this ChangePasswordException
msg - the standard Change Password error message for this ChangePasswordException

ChangePasswordException

public ChangePasswordException(int errorCode,
                               java.lang.String msg,
                               java.lang.Throwable cause)
Creates a ChangePasswordException with an error code, a message and an underlying throwable that caused this fault.

Parameters:
errorCode - the error code associated with this ChangePasswordException
msg - the standard Change Password error message for this ChangePasswordException
cause - the underlying failure, if any

ChangePasswordException

public ChangePasswordException(ErrorType errorType)
Creates a ChangePasswordException with an error code and a message.

Parameters:
errorType - the error type associated with this ChangePasswordException

ChangePasswordException

public ChangePasswordException(ErrorType errorType,
                               byte[] explanatoryData)
Creates a ChangePasswordException with an error code, a message, and data helping to explain what caused this fault.

Parameters:
errorType - the error type associated with this ChangePasswordException
explanatoryData - data helping to explain this fault, if any


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.