Class DelegationTokenIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.google.cloud.hadoop.fs.gcs.auth.DelegationTokenIOException
- All Implemented Interfaces:
Serializable
General IOException for Delegation Token issues. Includes recommended error strings, which can be
used in tests when looking for specific errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDelegationTokenIOException(String message) DelegationTokenIOException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic DelegationTokenIOExceptiontokenMismatch(org.apache.hadoop.io.Text service, org.apache.hadoop.io.Text expectedKind, org.apache.hadoop.io.Text actualKind) static DelegationTokenIOExceptionwrongTokenType(Class<? extends org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier> expectedClass, org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DelegationTokenIOException
-
DelegationTokenIOException
-
-
Method Details
-
wrongTokenType
public static DelegationTokenIOException wrongTokenType(Class<? extends org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier> expectedClass, org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier) -
tokenMismatch
public static DelegationTokenIOException tokenMismatch(org.apache.hadoop.io.Text service, org.apache.hadoop.io.Text expectedKind, org.apache.hadoop.io.Text actualKind)
-