public class InputException extends Object
Constructor and Description |
---|
InputException(String name)
Constructs a new
InputException with the
specified name. |
Modifier and Type | Method and Description |
---|---|
void |
add(InputCode c)
Adds a new code to this exception.
|
Queue<InputCode> |
getCodes()
Returns the codes associated with this exception.
|
String |
getName()
Returns the name of this exception.
|
String |
toString()
Returns a textual representation of this exception.
|
public InputException(String name)
InputException
with the
specified name.name
- the name of the new exception;public void add(InputCode c)
c
- the code to add.public String getName()
public Queue<InputCode> getCodes()
Copyright © 2019 JBoss by Red Hat. All rights reserved.