|
|||||||||
| 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
org.springframework.binding.convert.converters.InvalidFormatException
public class InvalidFormatException
Thrown when a formatted value is of the wrong form.
| Constructor Summary | |
|---|---|
InvalidFormatException(String invalidValue,
String expectedFormat)
Create a new invalid format exception. |
|
InvalidFormatException(String invalidValue,
String expectedFormat,
String message,
Throwable cause)
Create a new invalid format exception. |
|
InvalidFormatException(String invalidValue,
String expectedFormat,
Throwable cause)
Create a new invalid format exception. |
|
| Method Summary | |
|---|---|
String |
getExpectedFormat()
Returns the expected format. |
String |
getInvalidValue()
Returns the invalid value. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidFormatException(String invalidValue,
String expectedFormat)
invalidValue - the invalid valueexpectedFormat - the expected format
public InvalidFormatException(String invalidValue,
String expectedFormat,
Throwable cause)
invalidValue - the invalid valueexpectedFormat - the expected formatcause - the underlying cause of this exception
public InvalidFormatException(String invalidValue,
String expectedFormat,
String message,
Throwable cause)
invalidValue - the invalid valueexpectedFormat - the expected formatmessage - a descriptive messagecause - the underlying cause of this exception| Method Detail |
|---|
public String getInvalidValue()
public String getExpectedFormat()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||