public class InvalidAS2NameException extends Exception
| Constructor and Description |
|---|
InvalidAS2NameException(String name,
int index)
Constructs an
InvalidAS2NameException for the
specified name and index. |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Returns the index of the invalid character in
name |
String |
getMessage() |
String |
getName()
Returns the invalid AS2 name
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidAS2NameException(String name, int index)
InvalidAS2NameException for the
specified name and index.name - - the AS2 name that is invalid.index - - the index in the name of the invalid characterpublic String getMessage()
getMessage in class Throwablepublic String getName()
public int getIndex()
namenameApache Camel