de.cesr.uranus.util
Class UIdentifyCallerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.cesr.uranus.util.UIdentifyCallerException
- All Implemented Interfaces:
- Serializable
public class UIdentifyCallerException
- extends Exception
Uranus - Universal RAndom NUmber Service
- See Also:
- Serialized Form
omitLineNumbers
protected static boolean omitLineNumbers
UIdentifyCallerException
public UIdentifyCallerException()
getStackTrace
public StackTraceElement[] getStackTrace()
- Overrides:
getStackTrace
in class Throwable
- See Also:
Throwable.getStackTrace()
printStackTrace
public void printStackTrace(PrintWriter writer)
- Overrides:
printStackTrace
in class Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintWriter)
getStackTraceElementString
protected String getStackTraceElementString(StackTraceElement e)
- Prints StackTraceElement without line numbers
- Parameters:
e
- stack trace element
- Returns:
- stack trace element description
printStackTrace
public void printStackTrace(PrintStream writer)
- Overrides:
printStackTrace
in class Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintStream)
isOmitLineNumbers
public static boolean isOmitLineNumbers()
- Returns:
- true if line numbers are omitted in stack trace
setOmitLineNumbers
public static void setOmitLineNumbers(boolean omit)
- True to omit line numbers in stack trace (default is true)
- Parameters:
omitLineNumbers
-
getNumStackTraceFrames
public static int getNumStackTraceFrames()
- Returns:
- number of stack trace frames
setNumStackTraceFrames
public static void setNumStackTraceFrames(int numStackTraceFrames)
- Parameters:
number
- of stack trace frames