|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.directory.server.kerberos.shared.exceptions.KerberosException
public class KerberosException
The root of the Kerberos exception hierarchy.
| Constructor Summary | |
|---|---|
KerberosException(ErrorType errorType)
Creates a KerberosException with an error type. |
|
KerberosException(ErrorType errorType,
byte[] explanatoryData)
Creates a KerberosException with an error type and data helping to explain what caused this fault. |
|
KerberosException(ErrorType errorType,
java.lang.String msg)
Creates a KerberosException with an error type and a custom error message. |
|
KerberosException(int errorCode,
java.lang.String msg)
Creates a KerberosException with an error code and a message. |
|
KerberosException(int errorCode,
java.lang.String msg,
byte[] explanatoryData)
Creates a KerberosException with an error code, a message, and data helping to explain what caused this fault. |
|
KerberosException(int errorCode,
java.lang.String msg,
java.lang.Throwable cause)
Creates a KerberosException with an error code, a message and an underlying throwable that caused this fault. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Gets the protocol error code associated with this KerberosException. |
byte[] |
getExplanatoryData()
Gets the explanatory data associated with this KerberosException. |
| 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 |
|---|
public KerberosException(int errorCode,
java.lang.String msg)
errorCode - the error code associated with this KerberosExceptionmsg - the standard Kerberos error message for this KerberosException
public KerberosException(int errorCode,
java.lang.String msg,
java.lang.Throwable cause)
errorCode - the error code associated with this KerberosExceptionmsg - the standard Kerberos error message for this KerberosExceptioncause - the underlying failure, if any
public KerberosException(int errorCode,
java.lang.String msg,
byte[] explanatoryData)
errorCode - the error code associated with this KerberosExceptionmsg - the standard Kerberos error message for this KerberosExceptionexplanatoryData - data helping to explain this fault, if anypublic KerberosException(ErrorType errorType)
errorType - the error type associated with this KerberosException
public KerberosException(ErrorType errorType,
java.lang.String msg)
errorType - the error type associated with this KerberosExceptionmsg - a custom error message for this KerberosException
public KerberosException(ErrorType errorType,
byte[] explanatoryData)
errorType - the error type associated with this KerberosExceptionexplanatoryData - data helping to explain this fault, if any| Method Detail |
|---|
public int getErrorCode()
public byte[] getExplanatoryData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||