|
|||||||||
| 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.ibm.etools.sfm.sfpi.SFException
public class SFException
SFException is a class that covers the possible errors that can occur when using the SFPI.
| Field Summary | |
|---|---|
static int |
WZEF1000E_INTERNALERROR
An unexpected error occurred. |
static int |
WZEF1001E_ARGSERROR
Illegal arguments. |
static int |
WZEF1100E_NAMENOTVALID
The message or element name is not valid. |
static int |
WZEF1101W_COBOLNAMENOTVALID
The message or element name is not a valid COBOL variable name. |
static int |
WZEF1102E_NAMEALREADYINUSE
The message or element name is already in use. |
static int |
WZEF1103E_MESSAGENOTNAMED
The message is not named. |
static int |
WZEF1104E_MESSAGENAMECONFLICT
The message file contains at least two messages with the same name. |
static int |
WZEF1200E_NAMENOTVALID
The operation name is not a valid NCName. |
static int |
WZEF1201E_CHANNELTYPEMISMATCH
An attempt to add a non-channel input or output to a channel operation or an attempt to add a channel input or output to a non-channel operation was detected. |
static int |
WZEF1202E_OPERATIONNOTNAMED
The operation is not named. |
static int |
WZEF1203E_OPERATIONHASNOINPUT
The operation has no input. |
static int |
WZEF1204E_OPERATIONHASNOOUTPUT
The operation has no output. |
static int |
WZEF1205E_BADMESSAGEREF
The operations file references a message that is not associated with a message file. |
static int |
WZEF1206E_OPERATIONNAMECONFLICT
The operations file contains at least two operations with the same name. |
static int |
WZEF1300E_FILENAMENOTVALID
The file name is not valid. |
static int |
WZEF1301E_FILESAVEFAILED
The file save failed. |
static int |
WZEF1400E_INVOKETYPENOTVALID
The invoke type is not valid. |
static int |
WZEF1401E_RUNTIMENOTVALID
The runtime is not valid. |
static int |
WZEF1402E_RUNTIMENOTSUPPORTED
The given runtime is not supported for the invoke type. |
static int |
WZEF1403E_INPUTMESSAGENOTFOUND
An attempt to access or modify the container properties of a message that is not an input message of the associated channel operation was detected. |
static int |
WZEF1404E_OUTPUTMESSAGENOTFOUND
An attempt to access or modify the container properties of a message that is not an output message of the associated channel operation was detected. |
static int |
WZEF1405E_RESTRICTEDCONTAINERNAME
The container name is not allowed. |
static int |
WZEF1406E_INVOKETYPEMISMATCH
An attempt to associate a channel operation with non-channel invoke type generation properties, or an attempt to associate a non-channel operation with channel invoke type generation properties, was detected. |
static int |
WZEF1407E_PROPERTYVALIDATIONFAILED
Validation of the property value failed. |
| Constructor Summary | |
|---|---|
SFException(int reasonCode)
Creates a SFException with the given reason. |
|
SFException(int reasonCode,
java.lang.Throwable cause)
Creates a SFException with the given reason code and cause |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns a message explaining the exception. |
int |
getReasonCode()
Returns the exception's reason code. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int WZEF1000E_INTERNALERROR
public static final int WZEF1001E_ARGSERROR
public static final int WZEF1100E_NAMENOTVALID
public static final int WZEF1101W_COBOLNAMENOTVALID
public static final int WZEF1102E_NAMEALREADYINUSE
public static final int WZEF1103E_MESSAGENOTNAMED
public static final int WZEF1104E_MESSAGENAMECONFLICT
public static final int WZEF1200E_NAMENOTVALID
public static final int WZEF1201E_CHANNELTYPEMISMATCH
public static final int WZEF1202E_OPERATIONNOTNAMED
public static final int WZEF1203E_OPERATIONHASNOINPUT
public static final int WZEF1204E_OPERATIONHASNOOUTPUT
public static final int WZEF1205E_BADMESSAGEREF
public static final int WZEF1206E_OPERATIONNAMECONFLICT
public static final int WZEF1300E_FILENAMENOTVALID
public static final int WZEF1301E_FILESAVEFAILED
public static final int WZEF1400E_INVOKETYPENOTVALID
public static final int WZEF1401E_RUNTIMENOTVALID
public static final int WZEF1402E_RUNTIMENOTSUPPORTED
public static final int WZEF1403E_INPUTMESSAGENOTFOUND
public static final int WZEF1404E_OUTPUTMESSAGENOTFOUND
public static final int WZEF1405E_RESTRICTEDCONTAINERNAME
public static final int WZEF1406E_INVOKETYPEMISMATCH
public static final int WZEF1407E_PROPERTYVALIDATIONFAILED
| Constructor Detail |
|---|
public SFException(int reasonCode)
reasonCode - The reason for the exception.
public SFException(int reasonCode,
java.lang.Throwable cause)
reasonCode - The reason code for the exception.cause - The cause of the exception.| Method Detail |
|---|
public int getReasonCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||