com.sage.accpac.sm
Class Ecodes

java.lang.Object
  extended by com.sage.accpac.sm.Ecodes

public class Ecodes
extends java.lang.Object

The Ecodes class provides the constants of the ecodes.h header file of the underlying System Manager C code


Field Summary
static int BAD_DATA
           
static int BAD_FILE
           
static int BAD_HANDLE
           
static int BAD_PATH
           
static int BAD_PW
          The password specified was not correct
static int BUFFER_SIZE
          A buffer with a specified size was too small
static int CLOSE
          An attempt to close a file or stream etc.
static int CREATE
          An attempt to create something failed.
static int DELETE
          An attempt to delete something failed
static int DISK_FULL
          There was not sufficient space in the disk or similar resource
static int DUPLICATE_KEY
          A record with the specified key already exists
static int EOF
          An operation on a file or stream etc.
static int LOCK
           
static int NO_ACCESS
           
static int NO_HANDLES
          There were not enough handles available (of some form) so the operation was not complete
static int NO_MEMORY
          There is not enough memory to handle the given operation
static int NOT_FOUND
          The specified record was not fount
static int OPEN
          An attempt to open a file or stream etc.
static int PW_ALREADYUSED
          The provided password has already been used recently and so cannot be used again
static int PW_DISABLED
          The account of the specified user is disabled
static int PW_LOCKEDOUT
          The user is currently locked out of the system, for example following too many attempts to log in
static int PW_MUSTCHANGE
          The password for this user must be changed immediately
static int PW_NOSETTIME
          The system is unable to set the time server for robust password checking, only the Administrator can log on
static int PW_NOTCOMPLEX
          The new password provided is too simple; it must be complex
static int PW_NOTFORTODAY
          The specified user is not allowed to sign on at this time
static int PW_TOOSHORT
          The new password provided is too short
static int READ
          An attempt to read from a file or stream etc.
static int SEEK
          An attempt to position a cursor on a file or stream etc.
static int SUCCESS
          The operation was successful
static int WRITE
          An attempt to write to a file or stream etc.
 
Constructor Summary
Ecodes()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
The operation was successful

See Also:
Constant Field Values

OPEN

public static final int OPEN
An attempt to open a file or stream etc. failed

See Also:
Constant Field Values

CLOSE

public static final int CLOSE
An attempt to close a file or stream etc. failed.

See Also:
Constant Field Values

SEEK

public static final int SEEK
An attempt to position a cursor on a file or stream etc. failed.

See Also:
Constant Field Values

READ

public static final int READ
An attempt to read from a file or stream etc. failed.

See Also:
Constant Field Values

WRITE

public static final int WRITE
An attempt to write to a file or stream etc. failed.

See Also:
Constant Field Values

EOF

public static final int EOF
An operation on a file or stream etc. reached the end.

See Also:
Constant Field Values

DISK_FULL

public static final int DISK_FULL
There was not sufficient space in the disk or similar resource

See Also:
Constant Field Values

BAD_DATA

public static final int BAD_DATA
See Also:
Constant Field Values

NO_ACCESS

public static final int NO_ACCESS
See Also:
Constant Field Values

CREATE

public static final int CREATE
An attempt to create something failed.

See Also:
Constant Field Values

DELETE

public static final int DELETE
An attempt to delete something failed

See Also:
Constant Field Values

LOCK

public static final int LOCK
See Also:
Constant Field Values

BAD_HANDLE

public static final int BAD_HANDLE
See Also:
Constant Field Values

BAD_FILE

public static final int BAD_FILE
See Also:
Constant Field Values

BAD_PATH

public static final int BAD_PATH
See Also:
Constant Field Values

BAD_PW

public static final int BAD_PW
The password specified was not correct

See Also:
Constant Field Values

BUFFER_SIZE

public static final int BUFFER_SIZE
A buffer with a specified size was too small

See Also:
Constant Field Values

NO_MEMORY

public static final int NO_MEMORY
There is not enough memory to handle the given operation

See Also:
Constant Field Values

NO_HANDLES

public static final int NO_HANDLES
There were not enough handles available (of some form) so the operation was not complete

See Also:
Constant Field Values

DUPLICATE_KEY

public static final int DUPLICATE_KEY
A record with the specified key already exists

See Also:
Constant Field Values

NOT_FOUND

public static final int NOT_FOUND
The specified record was not fount

See Also:
Constant Field Values

PW_MUSTCHANGE

public static final int PW_MUSTCHANGE
The password for this user must be changed immediately

See Also:
Constant Field Values

PW_LOCKEDOUT

public static final int PW_LOCKEDOUT
The user is currently locked out of the system, for example following too many attempts to log in

See Also:
Constant Field Values

PW_DISABLED

public static final int PW_DISABLED
The account of the specified user is disabled

See Also:
Constant Field Values

PW_NOTCOMPLEX

public static final int PW_NOTCOMPLEX
The new password provided is too simple; it must be complex

See Also:
Constant Field Values

PW_TOOSHORT

public static final int PW_TOOSHORT
The new password provided is too short

See Also:
Constant Field Values

PW_NOTFORTODAY

public static final int PW_NOTFORTODAY
The specified user is not allowed to sign on at this time

See Also:
Constant Field Values

PW_ALREADYUSED

public static final int PW_ALREADYUSED
The provided password has already been used recently and so cannot be used again

See Also:
Constant Field Values

PW_NOSETTIME

public static final int PW_NOSETTIME
The system is unable to set the time server for robust password checking, only the Administrator can log on

See Also:
Constant Field Values
Constructor Detail

Ecodes

public Ecodes()


Copyright © 2011 Sage Software, Inc. All rights reserved.