org.equanda.util
Class ExceptionUtil
java.lang.Object
org.equanda.util.ExceptionUtil
public class ExceptionUtil
- extends Object
ExceptionUtil allows you to get more information about an exception, without having to investigate the causes.
- Author:
- Joachim Van der Auwera
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionUtil
public ExceptionUtil(Throwable exc)
init
public void init(Throwable exc)
isRecoverable
public boolean isRecoverable()
- Returns:
- is it likely that the error can be recovered from, or should we exit?
isRetryable
public boolean isRetryable()
- Returns:
- would it be useful to retry the operation?
getMessage
public String getMessage()
- Returns:
- compact error message
getConcatenatedMessage
public String getConcatenatedMessage()
- Get concatenated message, a sequence of te (short) message for the exception and the causes.
- Returns:
- concatenated messages for the exception and causes.
Copyright © 2007-2009. All Rights Reserved.