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
CommandLineException
public static TryBlock get(CommandContext ctx) throws CommandLineException
CommandLineException
public static TryBlock remove(CommandContext ctx) throws CommandLineException
CommandLineException
public org.jboss.dmr.ModelNode getTryRequest()
public void setTryRequest(org.jboss.dmr.ModelNode tryRequest) throws CommandLineException
CommandLineException
public org.jboss.dmr.ModelNode getCatchRequest()
public void setCatchRequest(org.jboss.dmr.ModelNode catchRequest) throws CommandLineException
CommandLineException
public boolean isInTry()
public boolean isInCatch()
public boolean isInFinally()
public void setInCatch()
public void setInFinally()
Copyright © 2015 JBoss by Red Hat. All rights reserved.