com.bigdata.service.ndx
Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bigdata.service.ndx.ClientException
- All Implemented Interfaces:
- Serializable
public class ClientException
- extends RuntimeException
Exposes a linked list of retry exceptions leading to the failure of an
AbstractDataServiceProcedureTask.
- Version:
- $Id: ClientException.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
ClientException
public ClientException(String msg,
Throwable cause)
- Parameters:
msg - cause -
ClientException
public ClientException(String msg,
Throwable cause,
List<Throwable> causes)
- Parameters:
msg - cause -
ClientException
public ClientException(String msg,
List<Throwable> causes)
- Parameters:
msg -
getCauses
public List<Throwable> getCauses()
- The list of causes, one per failed attempt.
- Returns:
- See Also:
getCause()
getCause
public Throwable getCause()
- The final exception thrown which caused the task to fail. Normally
this will indicate that the retry count has been exceeded and
getCauses() will report the underlying problem(s) which the
task encountered.
- Overrides:
getCause in class Throwable
- See Also:
getCauses()
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintWriter w)
- Overrides:
printStackTrace in class Throwable
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.