public class InputCode extends Object
| Constructor and Description |
|---|
InputCode(String name,
int code,
String logLevel,
String message)
Creates a new error code with the specified name, code,
log level and error message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns the code.
|
String |
getLogLevel()
Returns the severity of this code.
|
String |
getMessage()
Returns the error message for this code.
|
String |
getName()
Returns the name of this code.
|
String |
toString()
Returns a textual representation of this code.
|
public InputCode(String name, int code, String logLevel, String message)
name - the name of the new code.code - the code itself.logLevel - the level of severity of this error.message - the error message for this code.public String getName()
public int getCode()
public String getLogLevel()
public String getMessage()
Copyright © 2018 JBoss by Red Hat. All rights reserved.