public class KerberosException extends Exception
Constructor and Description |
---|
KerberosException(ErrorType errorType,
String msg)
Creates a KerberosException with an
ErrorType and a custom error message. |
KerberosException(ErrorType errorType,
Throwable cause)
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public KerberosException(ErrorType errorType, Throwable cause)
errorType
- The error type associated with this KerberosException.cause
- The underlying failure, if any.public KerberosException(ErrorType errorType, String msg)
ErrorType
and a custom error message.errorType
- The ErrorType
associated with this KerberosException.msg
- A custom error message for this KerberosException.Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.