public class CatchAction extends Object
Constructor and Description |
---|
CatchAction(String typeToCatch) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
getTypeToCatch()
Returns the type being caught, or
null to catch all
exceptions. |
public CatchAction(String typeToCatch)
typeToCatch
- the type, e.g. "ReferenceError" or "com.example.MyError". If
typeToCatch is null
, that means to halt on any
exception.public int getId()
public String getTypeToCatch()
null
to catch all
exceptions.Copyright © 2016 The Apache Software Foundation. All rights reserved.