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
public class DelegationTokenIOException extends IOException
General IOException for Delegation Token issues. Includes recommended error strings, which can be used in tests when looking for specific errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelegationTokenIOException(String message)
DelegationTokenIOException(String message, Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DelegationTokenIOException
tokenMismatch(org.apache.hadoop.io.Text service, org.apache.hadoop.io.Text expectedKind, org.apache.hadoop.io.Text actualKind)
static DelegationTokenIOException
wrongTokenType(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
-
-
-
-
Method Detail
-
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)
-
-