public enum StackStyle extends java.lang.Enum<StackStyle>
| Enum Constant and Description | 
|---|
MOZILLA
This stack trace style comes from the old Mozilla code:
  
functionName()@fileName:lineNumber | 
RHINO
This is the default stack trace style in Rhino, which is like Java:
  
    at fileName:lineNumber (functionName) | 
V8
This stack trace style matches that output from V8, either:
  
    at functionName (fileName:lineNumber:columnNumber)
 or, for anonymous functions:
     at fileName:lineNumber:columnNumber | 
| Modifier and Type | Method and Description | 
|---|---|
static StackStyle | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static StackStyle[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StackStyle RHINO
    at fileName:lineNumber (functionName)public static final StackStyle MOZILLA
functionName()@fileName:lineNumberpublic static final StackStyle V8
    at functionName (fileName:lineNumber:columnNumber)
 or, for anonymous functions:
     at fileName:lineNumber:columnNumberpublic static StackStyle[] values()
for (StackStyle c : StackStyle.values()) System.out.println(c);
public static StackStyle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2010 - 2023 Adobe. All Rights Reserved