Class 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 Detail

      • DelegationTokenIOException

        public DelegationTokenIOException​(String message)
      • DelegationTokenIOException

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