@Service public class ExceptionsCommands extends Object implements org.springframework.roo.shell.CommandMarker
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER
Get hold of the Roo support Logger.
|
| Constructor and Description |
|---|
ExceptionsCommands() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionHandler(org.springframework.roo.model.JavaType exception,
org.springframework.roo.model.JavaType controller,
org.springframework.roo.model.JavaType controllerAdvice,
String errorView)
This method provides the Command definition to be able to add an exception
handler.
|
boolean |
isExceptionHandlerCommandAvailable()
Method which returns whether the 'web mvc exception handler' command should be available.
|
protected static final Logger LOGGER
public boolean isExceptionHandlerCommandAvailable()
true if required feature is not already installed.public void exceptionHandler(org.springframework.roo.model.JavaType exception,
org.springframework.roo.model.JavaType controller,
org.springframework.roo.model.JavaType controllerAdvice,
String errorView)
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.