|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.softwareag.tamino.db.api.response.sax.helper.sodom.IllegalNameException
public class IllegalNameException
IllegalNameException
is thrown when a name is supplied in construction, etc.,
of a JDOM construct, and that name breaks XML naming
conventions.
Constructor Summary | |
---|---|
IllegalNameException(java.lang.String name,
java.lang.String construct)
This will create an Exception indicating
that the specified name is illegal for the construct
it was supplied to. |
|
IllegalNameException(java.lang.String name,
java.lang.String construct,
java.lang.String reason)
This will create an Exception indicating
that the specified name is illegal for the construct
it was supplied to. |
Method Summary | |
---|---|
static java.lang.String |
getMessage(java.lang.String name,
java.lang.String construct)
|
static java.lang.String |
getMessage(java.lang.String name,
java.lang.String construct,
java.lang.String reason)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IllegalNameException(java.lang.String name, java.lang.String construct, java.lang.String reason)
This will create an Exception
indicating
that the specified name is illegal for the construct
it was supplied to.
name
- String
name that breaks rules.construct
- String
name of JDOM construct
that name
was supplied to.reason
- String
message or reason name is illegal.public IllegalNameException(java.lang.String name, java.lang.String construct)
This will create an Exception
indicating
that the specified name is illegal for the construct
it was supplied to.
name
- String
name that breaks rules.construct
- String
name of JDOM construct
that name
was supplied to.Method Detail |
---|
public static java.lang.String getMessage(java.lang.String name, java.lang.String construct, java.lang.String reason)
public static java.lang.String getMessage(java.lang.String name, java.lang.String construct)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |