Class SapR3RfcFCException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SapR3RfcFCException
    extends java.lang.Exception
    Exception type for SAP R/3 Function Component.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SapR3RfcFCException​(SapR3RfcFCErrorCodes code, java.lang.String message)
      Construct exception with a context.
      SapR3RfcFCException​(SapR3RfcFCErrorCodes code, java.lang.String message, java.lang.Throwable cause)
      Construct exception with a context.
      SapR3RfcFCException​(java.lang.String message)
      Construct exception with a context message.
      SapR3RfcFCException​(java.lang.String message, java.lang.Throwable cause)
      Construct an exception of this type with a context message and lower level exception cause.
      SapR3RfcFCException​(java.lang.Throwable cause)
      Construct an exception of this type as result of another lower level exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SapR3RfcFCErrorCodes getErrorCode()
      Get the error code subtype.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SapR3RfcFCException

        public SapR3RfcFCException​(SapR3RfcFCErrorCodes code,
                                   java.lang.String message)
        Construct exception with a context.
        Parameters:
        code - a code which can be used to recognise this error
        message - a detail message giving details on what has gone wrong
      • SapR3RfcFCException

        public SapR3RfcFCException​(SapR3RfcFCErrorCodes code,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
        Construct exception with a context.
        Parameters:
        code - a code which can be used to recognise this error
        message - a detail message giving details on what has gone wrong
        cause - the real cause of this exception
      • SapR3RfcFCException

        public SapR3RfcFCException​(java.lang.String message)
        Construct exception with a context message.
        Parameters:
        message - The message text. This text should ideally be retrieved from an I18N message bundle.
      • SapR3RfcFCException

        public SapR3RfcFCException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Construct an exception of this type with a context message and lower level exception cause.
        Parameters:
        message - The message text. This text should ideally be retrieved from an I18N message bundle.
        cause - The cause of the this exception.
      • SapR3RfcFCException

        public SapR3RfcFCException​(java.lang.Throwable cause)
        Construct an exception of this type as result of another lower level exception. The message of this exception will be adopted from the root exception.
        Parameters:
        cause - The cause of the this exception.
    • Method Detail

      • getErrorCode

        public final SapR3RfcFCErrorCodes getErrorCode()
        Get the error code subtype.
        Returns:
        SapR3RfcFCErrorCodes the corresponding error code for this exception