|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
gov.grants.apply.util.InvalidHashValueException
A custom Exception signifying the hash value in the Header of the Grant application XML does not match the calculated hash value of the received XML.
Field Summary |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
InvalidHashValueException(java.lang.String calculatedHash,
java.lang.String hashFromHeader)
Create the exception initialize with what the expected hash value should have been and what was given in the header of the Grant application XML. |
Method Summary | |
static void |
main(java.lang.String[] args)
|
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 InvalidHashValueException(java.lang.String calculatedHash, java.lang.String hashFromHeader)
calculatedHash
- The calculated hash value.hashFromHeader
- The hash value from the header.Method Detail |
public static final void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |