org.apache.hadoop.hbase.exceptions
Class UnknownProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.hbase.HBaseIOException
                  extended by org.apache.hadoop.hbase.DoNotRetryIOException
                      extended by org.apache.hadoop.hbase.exceptions.UnknownProtocolException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Private
@InterfaceStability.Evolving
public class UnknownProtocolException
extends DoNotRetryIOException

An error requesting an RPC protocol that the server is not serving.

See Also:
Serialized Form

Constructor Summary
UnknownProtocolException(Class<?> protocol)
           
UnknownProtocolException(Class<?> protocol, String mesg)
           
UnknownProtocolException(String mesg)
           
 
Method Summary
 Class getProtocol()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownProtocolException

public UnknownProtocolException(String mesg)

UnknownProtocolException

public UnknownProtocolException(Class<?> protocol)

UnknownProtocolException

public UnknownProtocolException(Class<?> protocol,
                                String mesg)
Method Detail

getProtocol

public Class getProtocol()


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.