org.apache.cassandra.transport
Class ServerError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.cassandra.transport.ServerError
All Implemented Interfaces:
java.io.Serializable, TransportException

public class ServerError
extends java.lang.RuntimeException
implements TransportException

Exceptions thrown when a client didn't respect the protocol.

See Also:
Serialized Form

Constructor Summary
ServerError(java.lang.String msg)
           
ServerError(java.lang.Throwable e)
           
 
Method Summary
 ExceptionCode code()
          The exception code.
 
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
 
Methods inherited from interface org.apache.cassandra.exceptions.TransportException
getMessage
 

Constructor Detail

ServerError

public ServerError(java.lang.Throwable e)

ServerError

public ServerError(java.lang.String msg)
Method Detail

code

public ExceptionCode code()
Description copied from interface: TransportException
The exception code.

Specified by:
code in interface TransportException


Copyright © 2012 The Apache Software Foundation