me.prettyprint.hector.api.exceptions
Class HCassandraInternalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.prettyprint.hector.api.exceptions.HectorException
me.prettyprint.hector.api.exceptions.HCassandraInternalException
- All Implemented Interfaces:
- Serializable
public class HCassandraInternalException
- extends HectorException
Designed to loosely wrap TApplicationException which can be generated
by Apache Cassandra under a variety of ambiguous conditions - some of
them transient, some of them not.
- Author:
- zznate
- See Also:
- Serialized Form
Method Summary |
int |
getType()
The underlying 'type' directly from TApplicationException#getType |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HCassandraInternalException
public HCassandraInternalException(String msg)
HCassandraInternalException
public HCassandraInternalException(int type,
String msg)
HCassandraInternalException
public HCassandraInternalException(String s,
Throwable t)
HCassandraInternalException
public HCassandraInternalException(Throwable t)
getType
public int getType()
- The underlying 'type' directly from TApplicationException#getType
- Returns:
Copyright © 2011. All Rights Reserved.