Class CannotInitializeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.highdeal.iec.CannotInitializeException
All Implemented Interfaces:
Serializable

public class CannotInitializeException extends Exception
Exception thrown during the initialization of a customized Java task to be executed by an Import/Export Connector (IEC) application in your system landscape.

It includes an exception message and an exception reason. There are three possible reasons for this exception:

Use the getReason() method and the Throwable.getMessage() method for more details about your thrown exception.

Implementation in Your IEC Application

Refer to the implementation information in the Java task topic.

See Also:
  • Field Details

    • DOES_NOT_EXIST

      public static final int DOES_NOT_EXIST
      0: Reason code set by the IEC application when an entity does not exist; See the getReason() method of the exception to get the code and the Throwable.getMessage() method for more details about your thrown exception.
      See Also:
    • ALREADY_EXIST

      public static final int ALREADY_EXIST
      1: Reason code set by the IEC application when an entity already exists; See the getReason() method of the exception for more details.
      See Also:
    • INVALID

      public static final int INVALID
      2: Reason code set by the IEC application when the initialization of a Java Task is not valid; See the getReason() method of the exception for more details.
      See Also:
  • Constructor Details

    • CannotInitializeException

      public CannotInitializeException(int reason, String message)
      Constructs a new instance of CannotInitializeException with a reason code and a text message.
      Parameters:
      reason - The reason code of this exception
      message - The exception message that specifies more information details; It is accessible by the Throwable.getMessage() method.
  • Method Details