|
||||||||||
| 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
nu.xom.XMLException
nu.xom.WellformednessException
nu.xom.IllegalDataException
public class IllegalDataException
Indicates an attempt to set some value to malformed content; for instance by adding a string containing a null or a vertical tab to a text node, or using white space in an element name.
| Constructor Summary | |
|---|---|
IllegalDataException(java.lang.String message)
Creates a new IllegalDataException
with a detail message. |
|
IllegalDataException(java.lang.String message,
java.lang.Throwable cause)
Creates a new IllegalDataException
with a detail message and an underlying root cause. |
|
| Method Summary | |
|---|---|
java.lang.String |
getData()
Returns a string containing the actual illegal text that caused this exception. |
void |
setData(java.lang.String data)
Stores the illegal text that caused this exception. |
| Methods inherited from class nu.xom.XMLException |
|---|
getCause, initCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, 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 IllegalDataException(java.lang.String message)
Creates a new IllegalDataException
with a detail message.
message - a string indicating the specific problem
public IllegalDataException(java.lang.String message,
java.lang.Throwable cause)
Creates a new IllegalDataException
with a detail message and an underlying root cause.
message - a string indicating the specific problemcause - the original cause of this exception| Method Detail |
|---|
public void setData(java.lang.String data)
Stores the illegal text that caused this exception.
data - the illegal data that caused this exceptionpublic java.lang.String getData()
Returns a string containing the actual illegal text that caused this exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||