|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.util.type.CommonUtil
public final class CommonUtil
The CommonUtil contains utility methods for handling
type independent operations.
| Method Summary | ||
|---|---|---|
static String |
dump(Throwable pCause,
boolean pDeep)
Writes the stack trace of an exception/throwable object into a string. |
|
static
|
nvl(T pValue,
T pNvlValue)
Gets an alternative value for a null object. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String dump(Throwable pCause,
boolean pDeep)
pCause - Exception/Throwable (StackTrace)pDeep - true to dump the trace with all causes; false to dump
only the exception
public static <T> T nvl(T pValue,
T pNvlValue)
null object.
T - parameter typepValue - desired valuepNvlValue - alternative value
pValue or pNvlValue if pValue == null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||