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:
- java.io.Serializable
public class ConversionException
- extends JCoRuntimeException
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:
- Serialized Form
Constructor Summary |
ConversionException(java.lang.String message)
Creates a ConversationException with the specified message. |
ConversionException(java.lang.String message,
java.lang.Throwable causedBy)
Creates a ConversationException with the specified message and the
causing throwable. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConversionException
public ConversionException(java.lang.String message)
- Creates a ConversationException with the specified message.
- Parameters:
message
- the message describing the exception
ConversionException
public ConversionException(java.lang.String message,
java.lang.Throwable causedBy)
- Creates a ConversationException with the specified message and the
causing throwable.
- Parameters:
message
- the message describing the exceptioncausedBy
- The throwable that caused the ConversionException
Copyright © 2008-2014 SAP AG. All Rights Reserved.