org.wfmc.wapi
Class WMError

java.lang.Object
  extended byorg.wfmc.wapi.WMError
All Implemented Interfaces:
java.io.Serializable

public class WMError
extends java.lang.Object
implements java.io.Serializable

WfMC error codes.

Author:
Anthony Eden, Adrian Price
See Also:
Serialized Form

Field Summary
static int WM_ATTRIBUTE_ASSIGNMENT_FAILED
           
static int WM_CONNECT_FAILED
           
static int WM_EXECUTE_FAILED
           
static int WM_GENERAL_ERROR
           
static int WM_INSUFFICIENT_BUFFER_SIZE
           
static int WM_INVALID_ACTIVITY_INSTANCE
           
static int WM_INVALID_ACTIVITY_NAME
           
static int WM_INVALID_ATTRIBUTE
           
static int WM_INVALID_FILTER
           
static int WM_INVALID_PROCESS_DEFINITION
           
static int WM_INVALID_PROCESS_INSTANCE
           
static int WM_INVALID_QUERY_HANDLE
           
static int WM_INVALID_SESSION_HANDLE
           
static int WM_INVALID_SOURCE_USER
           
static int WM_INVALID_STATE
           
static int WM_INVALID_TARGET_USER
           
static int WM_INVALID_WORKITEM
           
static int WM_IOERROR
           
static int WM_LOCKED
           
static int WM_NO_MORE_DATA
           
static int WM_NOT_LOCKED
           
static int WM_SUCCESS
           
static int WM_TRANSITION_NOT_ALLOWED
           
static int WM_UNSUPPORTED
           
 
Constructor Summary
WMError(int mainCode)
           
WMError(int mainCode, short subCode)
           
 
Method Summary
 int getMainCode()
           
 int getSubCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WM_SUCCESS

public static final int WM_SUCCESS
See Also:
Constant Field Values

WM_CONNECT_FAILED

public static final int WM_CONNECT_FAILED
See Also:
Constant Field Values

WM_INVALID_PROCESS_DEFINITION

public static final int WM_INVALID_PROCESS_DEFINITION
See Also:
Constant Field Values

WM_INVALID_ACTIVITY_NAME

public static final int WM_INVALID_ACTIVITY_NAME
See Also:
Constant Field Values

WM_INVALID_PROCESS_INSTANCE

public static final int WM_INVALID_PROCESS_INSTANCE
See Also:
Constant Field Values

WM_INVALID_ACTIVITY_INSTANCE

public static final int WM_INVALID_ACTIVITY_INSTANCE
See Also:
Constant Field Values

WM_INVALID_WORKITEM

public static final int WM_INVALID_WORKITEM
See Also:
Constant Field Values

WM_INVALID_ATTRIBUTE

public static final int WM_INVALID_ATTRIBUTE
See Also:
Constant Field Values

WM_ATTRIBUTE_ASSIGNMENT_FAILED

public static final int WM_ATTRIBUTE_ASSIGNMENT_FAILED
See Also:
Constant Field Values

WM_INVALID_STATE

public static final int WM_INVALID_STATE
See Also:
Constant Field Values

WM_TRANSITION_NOT_ALLOWED

public static final int WM_TRANSITION_NOT_ALLOWED
See Also:
Constant Field Values

WM_INVALID_SESSION_HANDLE

public static final int WM_INVALID_SESSION_HANDLE
See Also:
Constant Field Values

WM_INVALID_QUERY_HANDLE

public static final int WM_INVALID_QUERY_HANDLE
See Also:
Constant Field Values

WM_INVALID_SOURCE_USER

public static final int WM_INVALID_SOURCE_USER
See Also:
Constant Field Values

WM_INVALID_TARGET_USER

public static final int WM_INVALID_TARGET_USER
See Also:
Constant Field Values

WM_INVALID_FILTER

public static final int WM_INVALID_FILTER
See Also:
Constant Field Values

WM_LOCKED

public static final int WM_LOCKED
See Also:
Constant Field Values

WM_NOT_LOCKED

public static final int WM_NOT_LOCKED
See Also:
Constant Field Values

WM_NO_MORE_DATA

public static final int WM_NO_MORE_DATA
See Also:
Constant Field Values

WM_INSUFFICIENT_BUFFER_SIZE

public static final int WM_INSUFFICIENT_BUFFER_SIZE
See Also:
Constant Field Values

WM_EXECUTE_FAILED

public static final int WM_EXECUTE_FAILED
See Also:
Constant Field Values

WM_UNSUPPORTED

public static final int WM_UNSUPPORTED
See Also:
Constant Field Values

WM_IOERROR

public static final int WM_IOERROR
See Also:
Constant Field Values

WM_GENERAL_ERROR

public static final int WM_GENERAL_ERROR
See Also:
Constant Field Values
Constructor Detail

WMError

public WMError(int mainCode)

WMError

public WMError(int mainCode,
               short subCode)
Method Detail

getMainCode

public int getMainCode()

getSubCode

public int getSubCode()

toString

public java.lang.String toString()


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.