public class IlvConvertException extends Exception
IlvConvertException
indicate that an error occurred when
trying to convert a value.Constructor and Description |
---|
IlvConvertException(String message)
Creates a new
IlvConvertException with the specified message. |
IlvConvertException(String message,
Object value)
Creates a new
IlvConvertException with the specified message. |
IlvConvertException(Throwable cause,
String message)
Creates a new
IlvConvertException with the specified message. |
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Returns the value that was not convertible, if available,
null
otherwise. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IlvConvertException(String message)
IlvConvertException
with the specified message.message
- the message describing the cause of the exception.public IlvConvertException(Throwable cause, String message)
IlvConvertException
with the specified message.message
- the message describing the cause of the exception.cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public Object getValue()
null
otherwise.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.