@InterfaceAudience.Public @InterfaceStability.Unstable public class KerberosAuthException extends IOException
UserGroupInformation
failed with an unrecoverable error,
such as failure in kerberos login/logout, invalid subject etc.
Caller should not retry when catching this exception.Constructor and Description |
---|
KerberosAuthException(String msg) |
KerberosAuthException(String initialMsg,
Throwable cause) |
KerberosAuthException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getInitialMessage() |
String |
getKeytabFile() |
String |
getMessage() |
String |
getPrincipal() |
String |
getTicketCacheFile() |
String |
getUser() |
void |
setKeytabFile(String k) |
void |
setPrincipal(String p) |
void |
setTicketCacheFile(String t) |
void |
setUser(String u) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public KerberosAuthException(String msg)
public KerberosAuthException(Throwable cause)
public void setUser(String u)
public void setPrincipal(String p)
public void setKeytabFile(String k)
public void setTicketCacheFile(String t)
public String getInitialMessage()
public String getKeytabFile()
public String getPrincipal()
public String getTicketCacheFile()
public String getUser()
public String getMessage()
getMessage
in class Throwable
Copyright © 2021 Apache Software Foundation. All rights reserved.