This class and the classes below it are exceptions that can occur during regular operation of an application. The JRfcBaseRuntimeException is similar to JRfcBaseException. This class has three primary methods that are inherited by the lower classes in the hierarchy.
getCausingException(). Returns the originating exception.
getClassname(). Returns the class that raised the exception.
toString(). Returns the exception as a string.
This exception is thrown when you attempt to cast a class to a subclass type that is not in the hierarchy.
This class contains subclasses that deal with problems related to complex data, such as structures or tables.
This exception is raised if the Java program tries to access a field in a structure or table that does not exist.
This exception is raised when an illegal value is passed back to the method.
This exception class may be thrown to indicate that an object’s state does not allow the desired operation.
This exception class is thrown to indicate that an index of some kind (such as to an array, a string, or a vector) is out of range. The index is either negative or greater than or equal to the number of indexed elements.
This exception class is thrown to indicate that what went wrong is specific to the middleware implementing the Java access to RFC.
This exception is thrown if a parameter with a certain name cannot be found.
This exception class is thrown when an application attempts to use a null pointer in a case where an object is required.
This exception class is used as the base class for all exceptions related to simple data items.
This exception class is thrown to indicate that an instance of type ISimple is not able to convert its data into the corresponding ABAP data type. For example, a Simple is mapped to an ABAP field of type CHAR with a length of 30. Any attempt to store a java.lang.String with a length greater than 30 would result in this exception class being thrown.
This exception class is thrown when the internal data cannot be cast to a desired type. For example, SimpleDataCastException is thrown if the getByte() method is invoked on an object of a class implementing ISimpleField, and the object contains data that cannot be interpreted as a byte (for example, 12345, “longstring”, 1.2345, “19971216”).
This exception is thrown to indicate that an attempt was made to convert a string to a date or time object, but the string did not have the correct format.
This exception is thrown to indicate that an attempt was made to convert a string to one of the numeric types, but the string did not have the correct format.
This exception is thrown to indicate that an attempt was made to set a simple data item to an unknown type.
Team-Fly |