railo.commons.lang
Class ExceptionUtil
java.lang.Object
railo.commons.lang.ExceptionUtil
public final class ExceptionUtil
- extends Object
Method Summary |
static PageException |
addHint(PageExceptionImpl pe,
String hint)
|
static String |
createSoundexDetail(String name,
Iterator<String> it,
String keyName)
|
static String |
getMessage(Throwable t)
|
static String |
getStacktrace(Throwable t,
boolean addMessage)
|
static String |
similarKeyMessage(Collection.Key[] _keys,
String keySearched,
String keyLabel,
String keyLabels)
creates a message for key not found with soundex check for similar key |
static String |
similarKeyMessage(Collection coll,
String keySearched,
String keyLabel,
String keyLabels)
|
static IOException |
toIOException(Throwable t)
|
ExceptionUtil
public ExceptionUtil()
getStacktrace
public static String getStacktrace(Throwable t,
boolean addMessage)
getMessage
public static String getMessage(Throwable t)
addHint
public static PageException addHint(PageExceptionImpl pe,
String hint)
similarKeyMessage
public static String similarKeyMessage(Collection.Key[] _keys,
String keySearched,
String keyLabel,
String keyLabels)
- creates a message for key not found with soundex check for similar key
- Parameters:
keys
- keyLabel
-
- Returns:
similarKeyMessage
public static String similarKeyMessage(Collection coll,
String keySearched,
String keyLabel,
String keyLabels)
toIOException
public static IOException toIOException(Throwable t)
createSoundexDetail
public static String createSoundexDetail(String name,
Iterator<String> it,
String keyName)
Copyright © 2012 Railo