|
||||||||||
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
com.sage.orion.sdata.servlet.MalformedPayloadException
public class MalformedPayloadException
Class for a malformed Payload Exception.
Constructor Summary | |
---|---|
MalformedPayloadException()
Constructor. |
|
MalformedPayloadException(java.lang.String message)
Constructs an instance of the MalformedPayloadException class
corresponding to the given message. |
|
MalformedPayloadException(java.lang.Throwable e)
Constructor. |
Method Summary | |
---|---|
static MalformedPayloadException |
badChild(java.lang.String child,
java.lang.String resource)
returns a MalformedPayloadException corresponding to the given bad
child resource |
static MalformedPayloadException |
badProperty(java.lang.String property,
java.lang.String resource)
returns a MalformedPayloadException corresponding to the given bad
property |
SDataDiagnosis |
getDiagnosis()
returns a corresponding diagnosis, if feasible |
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 MalformedPayloadException()
public MalformedPayloadException(java.lang.Throwable e)
e
- public MalformedPayloadException(java.lang.String message)
MalformedPayloadException
class
corresponding to the given message.
The exception has a generic application code associated with it.
Use badChild(String, String)
or
badProperty(String, String)
to construct more specific instances.
message
- the message which will be returned by Throwable.getMessage()
.Method Detail |
---|
public static MalformedPayloadException badProperty(java.lang.String property, java.lang.String resource)
MalformedPayloadException
corresponding to the given bad
property
property
- the name of the property that is not validresource
- the name of the resource that it was a property under
MalformedPayloadException
corresponding to a bad
property namepublic static MalformedPayloadException badChild(java.lang.String child, java.lang.String resource)
MalformedPayloadException
corresponding to the given bad
child resource
child
- the name of the child resource that is not validresource
- the name of the resource that it was a child resource under
MalformedPayloadException
corresponding to a bad child
resource namepublic SDataDiagnosis getDiagnosis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |