public class StringParsingException extends Exception
Constructor and Description |
---|
StringParsingException(String stringToParse,
Class<?> destType)
Exception constructor.
|
StringParsingException(String stringToParse,
Class<?> destType,
Throwable cause)
Exception constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getStringToParse() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StringParsingException(@Nullable String stringToParse, @Nonnull Class<?> destType)
stringToParse
- The string that could not be parsed.destType
- The type for which the parsing failed.public StringParsingException(@Nullable String stringToParse, @Nonnull Class<?> destType, @Nullable Throwable cause)
stringToParse
- The string that could not be parsed.destType
- The type for which the parsing failed.cause
- The exception cause.Copyright © 2020 SAP SE. All rights reserved.