|
SAP CC 3.0 IEC API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.highdeal.iec.CannotInitializeException
public class CannotInitializeException
This exception can be thrown during the initialization of a Java Task.
There are 3 reasons:
DOES_NOT_EXIST: when a entity doesn't exist. See the message of this exception for more details.ALREADY_EXIST: when a entity already exist. See the message of this exception for more details.INVALID: when the initialization of Java Task isn't valid. See the message of this exception for more details.
JavaTask.setProperties(java.util.Properties),
Serialized Form| Field Summary | |
|---|---|
static int |
ALREADY_EXIST
Reason code set, when a entity already exists. |
static int |
DOES_NOT_EXIST
Reason code set, when a entity doesn't exist. |
static int |
INVALID
Reason code set, when the initialization of Java Task isn't valid. |
| Constructor Summary | |
|---|---|
CannotInitializeException(int reason,
java.lang.String message)
Constructs a new instance of CannotInitializeException with a reason code and a message. |
|
| Method Summary | |
|---|---|
int |
getReason()
Return the reason code of this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DOES_NOT_EXIST
message of the exception for more details.
public static final int ALREADY_EXIST
message of the exception for more details.
public static final int INVALID
Java Task isn't valid.
message of the exception for more details.
| Constructor Detail |
|---|
public CannotInitializeException(int reason,
java.lang.String message)
CannotInitializeException with a reason code and a message.
reason - The reason code of this exception.message - The message that give more details.| Method Detail |
|---|
public int getReason()
DOES_NOT_EXIST: when a entity doesn't exist. See the message of this exception for more details.ALREADY_EXIST: when a entity already exist. See the message of this exception for more details.INVALID: when the initialization of Java Task isn't valid. See the message of this exception for more details.
DOES_NOT_EXIST,
ALREADY_EXIST,
INVALID
|
SAP CC 3.0 IEC API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||