public class TryBlock extends Object
| Constructor and Description |
|---|
TryBlock() |
| Modifier and Type | Method and Description |
|---|---|
static TryBlock |
create(CommandContext ctx) |
static TryBlock |
get(CommandContext ctx) |
org.jboss.dmr.ModelNode |
getCatchRequest() |
org.jboss.dmr.ModelNode |
getTryRequest() |
boolean |
isInCatch() |
boolean |
isInFinally() |
boolean |
isInTry() |
static TryBlock |
remove(CommandContext ctx) |
void |
setCatchRequest(org.jboss.dmr.ModelNode catchRequest) |
void |
setInCatch() |
void |
setInFinally() |
void |
setTryRequest(org.jboss.dmr.ModelNode tryRequest) |
public static TryBlock create(CommandContext ctx) throws CommandLineException
CommandLineExceptionpublic static TryBlock get(CommandContext ctx) throws CommandLineException
CommandLineExceptionpublic static TryBlock remove(CommandContext ctx) throws CommandLineException
CommandLineExceptionpublic org.jboss.dmr.ModelNode getTryRequest()
public void setTryRequest(org.jboss.dmr.ModelNode tryRequest)
throws CommandLineException
CommandLineExceptionpublic org.jboss.dmr.ModelNode getCatchRequest()
public void setCatchRequest(org.jboss.dmr.ModelNode catchRequest)
throws CommandLineException
CommandLineExceptionpublic boolean isInTry()
public boolean isInCatch()
public boolean isInFinally()
public void setInCatch()
public void setInFinally()
Copyright © 2014 JBoss by Red Hat. All rights reserved.