001package org.apache.hadoop.security.rpcauth; 002 003import java.io.IOException; 004 005public class RetryWithNextAuthException extends IOException { 006 007 private static final long serialVersionUID = -4807670209808616208L; 008 009 private RpcAuthMethod authMethod; 010 011 public RetryWithNextAuthException(RpcAuthMethod authMethod) { 012 this.authMethod = authMethod; 013 } 014 015 public RpcAuthMethod getAuthMethod() { 016 return authMethod; 017 } 018}