|
|||||||||
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 org.springframework.core.NestedRuntimeException org.springframework.binding.format.InvalidFormatException
public class InvalidFormatException
Thrown when a formatted value is of the wrong form.
Constructor Summary | |
---|---|
InvalidFormatException(java.lang.String invalidValue,
java.lang.String expectedFormat)
Create a new invalid format exception. |
|
InvalidFormatException(java.lang.String invalidValue,
java.lang.String expectedFormat,
java.lang.String message,
java.lang.Throwable cause)
Create a new invalid format exception. |
|
InvalidFormatException(java.lang.String invalidValue,
java.lang.String expectedFormat,
java.lang.Throwable cause)
Create a new invalid format exception. |
Method Summary | |
---|---|
java.lang.String |
getExpectedFormat()
Returns the expected format. |
java.lang.String |
getInvalidValue()
Returns the invalid value. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvalidFormatException(java.lang.String invalidValue, java.lang.String expectedFormat)
invalidValue
- the invalid valueexpectedFormat
- the expected formatpublic InvalidFormatException(java.lang.String invalidValue, java.lang.String expectedFormat, java.lang.Throwable cause)
invalidValue
- the invalid valueexpectedFormat
- the expected formatcause
- the underlying cause of this exceptionpublic InvalidFormatException(java.lang.String invalidValue, java.lang.String expectedFormat, java.lang.String message, java.lang.Throwable cause)
invalidValue
- the invalid valueexpectedFormat
- the expected formatmessage
- a descriptive messagecause
- the underlying cause of this exceptionMethod Detail |
---|
public java.lang.String getInvalidValue()
public java.lang.String getExpectedFormat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |