|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.util.NoSuchElementException de.hpi.fgis.dude.exceptions.InvalidJsonException
public class InvalidJsonException
This exception should be raised if an Json
String could not be converted into an object.
Constructor Summary | |
---|---|
InvalidJsonException()
Calls NoSuchElementException.NoSuchElementException() . |
|
InvalidJsonException(String msg)
Calls NoSuchElementException.NoSuchElementException(String) . |
|
InvalidJsonException(String msg,
Throwable cause)
Calls NoSuchElementException.NoSuchElementException(String) and stores the passed cause. |
|
InvalidJsonException(Throwable cause)
Calls NoSuchElementException.NoSuchElementException() and stores the passed cause. |
Method Summary | |
---|---|
Throwable |
getCause()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 InvalidJsonException()
NoSuchElementException.NoSuchElementException()
.
public InvalidJsonException(String msg)
NoSuchElementException.NoSuchElementException(String)
.
msg
- The error message.public InvalidJsonException(Throwable cause)
NoSuchElementException.NoSuchElementException()
and stores the passed cause.
cause
- The exception that caused this exception.public InvalidJsonException(String msg, Throwable cause)
NoSuchElementException.NoSuchElementException(String)
and stores the passed cause.
msg
- The error message.cause
- The exception that caused this exception.Method Detail |
---|
public Throwable getCause()
getCause
in class Throwable
Throwable.getCause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |