com.blueworld.lassopro
Class LassoErrors

java.lang.Object
  |
  +--com.blueworld.lassopro.LassoErrors

public final class LassoErrors
extends java.lang.Object

Constants for the various error codes which can be returned by your module.


Field Summary
static int Assert
          failed assertion
static int BOF
          beginning of file reached
static int CouldNotCloseFile
          could not close the file
static int CouldNotCreateOrOpenFile
          could not create or open the file
static int CouldNotDeleteFile
          could not delete the file
static int CouldNotDisposeMemory
          error disposing an object
static int CouldNotReadFromFile
          unable to complete a read operation from the file
static int CouldNotWriteToFile
          unable to complete a write operation to the file
static int DatasourceError
          third-party generic datasource error
static int DirectoryFull
          no more items allowed inthe directory
static int DiskFull
          no room left on disk
static int EOF
          end of file reached
static int FieldRestriction
          the specified action is restricted
static int File
          generic file error
static int FileAlreadyExists
          trying to create a file that already exists
static int FileCorrupt
          file is corrupted
static int FileInvalid
          trying to work with an invalid file
static int FileInvalidAccessMode
          trying to access a file in a mode that it doesn't support
static int FileIsClosed
          file is closed
static int FileIsOpen
          file is open
static int FileLocked
          file is locked
static int FileNotFound
          file does not exist
static int FileUnlocked
          file is unlocked
static int FormattingLoopAborted
          a looping tag was aborted; all looping tags must catch this exception
static int FormattingSyntaxError
          bad syntax used in a format file; parsing of the file was aborted
static int HTTPFileNotFound
          the file was not found
static int InvalidDatabase
          the database name supplied is not valid
static int InvalidFilename
          filename is invalid
static int InvalidMemoryObject
          invalid memory object
static int InvalidParameter
          an invalid parameter was passed to a function
static int InvalidPassword
          the password supplied for the action is not valid
static int InvalidPathname
          pathname is invalid
static int InvalidUsername
          the username supplied for the action is not valid
static int IOError
          I/O error
static int Memory
          generic memory error
static int Network
          unknown networking error
static int NilPointer
          a pointer was nil when it shouldn't have been
static int NO_ERR
          success result code
static int NoPermission
          general permissions error
static int OutOfMemory
          not enough memory
static int OutOfStackSpace
          stack overflow error
static int Overflow
          some memory passed to a function was too small to hold the results
static int ResNotFound
          resource not found
static int Resource
          generic resource error
static int StreamReadError
          could not write to stream
static int StreamWriteError
          could not read from stream
static int UnknownError
          default when none of the cross-platform errors seem to fit
static int VolumeDoesNotExist
          bad volume name
static int WebActionNotSupported
          action not supported
static int WebAddError
          add record error
static int WebConnectionInvalid
          the specified database was not found
static int WebDeleteError
          delete record error
static int WebModuleNotFound
          the module was not found
static int WebNoSuchObject
          no records found
static int WebRepeatingRelatedField
          adding repeating related fields isn't supported
static int WebRequiredFieldMissing
          value missing for required field for Add
static int WebTimeout
          operation timed out
static int WebUpdateError
          update record error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ERR

public static final int NO_ERR
success result code

See Also:
Constant Field Values

Assert

public static final int Assert
failed assertion

See Also:
Constant Field Values

StreamReadError

public static final int StreamReadError
could not write to stream

See Also:
Constant Field Values

StreamWriteError

public static final int StreamWriteError
could not read from stream

See Also:
Constant Field Values

Memory

public static final int Memory
generic memory error

See Also:
Constant Field Values

InvalidMemoryObject

public static final int InvalidMemoryObject
invalid memory object

See Also:
Constant Field Values

OutOfMemory

public static final int OutOfMemory
not enough memory

See Also:
Constant Field Values

OutOfStackSpace

public static final int OutOfStackSpace
stack overflow error

See Also:
Constant Field Values

CouldNotDisposeMemory

public static final int CouldNotDisposeMemory
error disposing an object

See Also:
Constant Field Values

File

public static final int File
generic file error

See Also:
Constant Field Values

FileInvalid

public static final int FileInvalid
trying to work with an invalid file

See Also:
Constant Field Values

FileInvalidAccessMode

public static final int FileInvalidAccessMode
trying to access a file in a mode that it doesn't support

See Also:
Constant Field Values

CouldNotCreateOrOpenFile

public static final int CouldNotCreateOrOpenFile
could not create or open the file

See Also:
Constant Field Values

CouldNotCloseFile

public static final int CouldNotCloseFile
could not close the file

See Also:
Constant Field Values

CouldNotDeleteFile

public static final int CouldNotDeleteFile
could not delete the file

See Also:
Constant Field Values

FileNotFound

public static final int FileNotFound
file does not exist

See Also:
Constant Field Values

FileAlreadyExists

public static final int FileAlreadyExists
trying to create a file that already exists

See Also:
Constant Field Values

FileCorrupt

public static final int FileCorrupt
file is corrupted

See Also:
Constant Field Values

VolumeDoesNotExist

public static final int VolumeDoesNotExist
bad volume name

See Also:
Constant Field Values

DiskFull

public static final int DiskFull
no room left on disk

See Also:
Constant Field Values

DirectoryFull

public static final int DirectoryFull
no more items allowed inthe directory

See Also:
Constant Field Values

IOError

public static final int IOError
I/O error

See Also:
Constant Field Values

InvalidPathname

public static final int InvalidPathname
pathname is invalid

See Also:
Constant Field Values

InvalidFilename

public static final int InvalidFilename
filename is invalid

See Also:
Constant Field Values

FileLocked

public static final int FileLocked
file is locked

See Also:
Constant Field Values

FileUnlocked

public static final int FileUnlocked
file is unlocked

See Also:
Constant Field Values

FileIsOpen

public static final int FileIsOpen
file is open

See Also:
Constant Field Values

FileIsClosed

public static final int FileIsClosed
file is closed

See Also:
Constant Field Values

BOF

public static final int BOF
beginning of file reached

See Also:
Constant Field Values

EOF

public static final int EOF
end of file reached

See Also:
Constant Field Values

CouldNotWriteToFile

public static final int CouldNotWriteToFile
unable to complete a write operation to the file

See Also:
Constant Field Values

CouldNotReadFromFile

public static final int CouldNotReadFromFile
unable to complete a read operation from the file

See Also:
Constant Field Values

ResNotFound

public static final int ResNotFound
resource not found

See Also:
Constant Field Values

Resource

public static final int Resource
generic resource error

See Also:
Constant Field Values

Network

public static final int Network
unknown networking error

See Also:
Constant Field Values

InvalidUsername

public static final int InvalidUsername
the username supplied for the action is not valid

See Also:
Constant Field Values

InvalidPassword

public static final int InvalidPassword
the password supplied for the action is not valid

See Also:
Constant Field Values

InvalidDatabase

public static final int InvalidDatabase
the database name supplied is not valid

See Also:
Constant Field Values

NoPermission

public static final int NoPermission
general permissions error

See Also:
Constant Field Values

FieldRestriction

public static final int FieldRestriction
the specified action is restricted

See Also:
Constant Field Values

WebAddError

public static final int WebAddError
add record error

See Also:
Constant Field Values

WebUpdateError

public static final int WebUpdateError
update record error

See Also:
Constant Field Values

WebDeleteError

public static final int WebDeleteError
delete record error

See Also:
Constant Field Values

InvalidParameter

public static final int InvalidParameter
an invalid parameter was passed to a function

See Also:
Constant Field Values

Overflow

public static final int Overflow
some memory passed to a function was too small to hold the results

See Also:
Constant Field Values

NilPointer

public static final int NilPointer
a pointer was nil when it shouldn't have been

See Also:
Constant Field Values

UnknownError

public static final int UnknownError
default when none of the cross-platform errors seem to fit

See Also:
Constant Field Values

FormattingLoopAborted

public static final int FormattingLoopAborted
a looping tag was aborted; all looping tags must catch this exception

See Also:
Constant Field Values

FormattingSyntaxError

public static final int FormattingSyntaxError
bad syntax used in a format file; parsing of the file was aborted

See Also:
Constant Field Values

WebRequiredFieldMissing

public static final int WebRequiredFieldMissing
value missing for required field for Add

See Also:
Constant Field Values

WebRepeatingRelatedField

public static final int WebRepeatingRelatedField
adding repeating related fields isn't supported

See Also:
Constant Field Values

WebNoSuchObject

public static final int WebNoSuchObject
no records found

See Also:
Constant Field Values

WebTimeout

public static final int WebTimeout
operation timed out

See Also:
Constant Field Values

WebActionNotSupported

public static final int WebActionNotSupported
action not supported

See Also:
Constant Field Values

WebConnectionInvalid

public static final int WebConnectionInvalid
the specified database was not found

See Also:
Constant Field Values

WebModuleNotFound

public static final int WebModuleNotFound
the module was not found

See Also:
Constant Field Values

HTTPFileNotFound

public static final int HTTPFileNotFound
the file was not found

See Also:
Constant Field Values

DatasourceError

public static final int DatasourceError
third-party generic datasource error

See Also:
Constant Field Values