org.apache.accumulo.core.client
Class AccumuloException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.accumulo.core.client.AccumuloException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccumuloServerException, LocalityGroupUtil.LocalityGroupConfigurationError, MutationsRejectedException

public class AccumuloException
extends Exception

A generic Accumulo Exception for general accumulo failures.

See Also:
Serialized Form

Constructor Summary
AccumuloException(String why)
           
AccumuloException(String why, Throwable cause)
           
AccumuloException(Throwable cause)
           
 
Method Summary
 
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

AccumuloException

public AccumuloException(String why)
Parameters:
why - is the reason for the error being thrown

AccumuloException

public AccumuloException(Throwable cause)
Parameters:
cause - is the exception that this exception wraps

AccumuloException

public AccumuloException(String why,
                         Throwable cause)
Parameters:
why - is the reason for the error being thrown
cause - is the exception that this exception wraps


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.