Package com.sap.conn.jco
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.conn.jco.JCoRuntimeException
com.sap.conn.jco.ConversionException
- All Implemented Interfaces:
Serializable
A ConversionException will be thrown, if a field in a JCoRecord cannot
store a value passed to this record by a setValue call. One possible reason
is trying to store some arbitrary text in a date field, or trying to put non-digits
into an int field.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConversionException
(String message) Creates a ConversationException with the specified message.ConversionException
(String message, Throwable causedBy) Creates a ConversationException with the specified message and the causing throwable. -
Method Summary
Methods inherited from class com.sap.conn.jco.JCoRuntimeException
getGroup, getKey, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ConversionException
Creates a ConversationException with the specified message.- Parameters:
message
- the message describing the exception
-
ConversionException
Creates a ConversationException with the specified message and the causing throwable.- Parameters:
message
- the message describing the exceptioncausedBy
- The throwable that caused the ConversionException
-