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:
  • Constructor Details

    • DelegationTokenIOException

      public DelegationTokenIOException(String message)
    • DelegationTokenIOException

      public DelegationTokenIOException(String message, Throwable cause)
  • 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)