All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class uk.co.demon.seasip.libdsk.DskException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----uk.co.demon.seasip.libdsk.DskException

public class DskException
extends Exception
This exception is thrown when an underlying LibDsk function fails.


Variable Index

 o DSK_ERR_ACCESS
Access denied.
 o DSK_ERR_BADFMT
Bad format.
 o DSK_ERR_BADPARM
Bad parameter passed to LibDsk.
 o DSK_ERR_BADPTR
Bad pointer passed to LibDsk.
 o DSK_ERR_CHANGED
Disc changed while LibDsk was using it.
 o DSK_ERR_CTRLR
Controller failed.
 o DSK_ERR_DATAERR
Data error.
 o DSK_ERR_DIVZERO
Division by zero.
 o DSK_ERR_ECHECK
Equipment check.
 o DSK_ERR_MISMATCH
Sector read did not match sector on disc
 o DSK_ERR_NOADDR
Missing address mark.
 o DSK_ERR_NODATA
No data.
 o DSK_ERR_NODRVR
No such LibDsk driver.
 o DSK_ERR_NOMEM
Out of memory
 o DSK_ERR_NOTIMPL
Function not implemented
 o DSK_ERR_NOTME
LibDsk driver rejected the disc.
 o DSK_ERR_NOTRDY
Drive not ready.
 o DSK_ERR_OK
No error
 o DSK_ERR_OVERRUN
Overrun.
 o DSK_ERR_RDONLY
Drive is read-only.
 o DSK_ERR_SEEKFAIL
Seek failed.
 o DSK_ERR_SYSERR
System call failed.
 o DSK_ERR_UNKNOWN
Unknown error.

Method Index

 o getError()
Return the LibDsk error code that caused this exception.

Variables

 o DSK_ERR_OK
 public static final int DSK_ERR_OK
No error

 o DSK_ERR_BADPTR
 public static final int DSK_ERR_BADPTR
Bad pointer passed to LibDsk.

 o DSK_ERR_DIVZERO
 public static final int DSK_ERR_DIVZERO
Division by zero.

 o DSK_ERR_BADPARM
 public static final int DSK_ERR_BADPARM
Bad parameter passed to LibDsk.

 o DSK_ERR_NODRVR
 public static final int DSK_ERR_NODRVR
No such LibDsk driver.

 o DSK_ERR_NOTME
 public static final int DSK_ERR_NOTME
LibDsk driver rejected the disc.

 o DSK_ERR_SYSERR
 public static final int DSK_ERR_SYSERR
System call failed.

 o DSK_ERR_NOMEM
 public static final int DSK_ERR_NOMEM
Out of memory

 o DSK_ERR_NOTIMPL
 public static final int DSK_ERR_NOTIMPL
Function not implemented

 o DSK_ERR_MISMATCH
 public static final int DSK_ERR_MISMATCH
Sector read did not match sector on disc

 o DSK_ERR_NOTRDY
 public static final int DSK_ERR_NOTRDY
Drive not ready.

 o DSK_ERR_RDONLY
 public static final int DSK_ERR_RDONLY
Drive is read-only.

 o DSK_ERR_SEEKFAIL
 public static final int DSK_ERR_SEEKFAIL
Seek failed.

 o DSK_ERR_DATAERR
 public static final int DSK_ERR_DATAERR
Data error.

 o DSK_ERR_NODATA
 public static final int DSK_ERR_NODATA
No data.

 o DSK_ERR_NOADDR
 public static final int DSK_ERR_NOADDR
Missing address mark.

 o DSK_ERR_BADFMT
 public static final int DSK_ERR_BADFMT
Bad format.

 o DSK_ERR_CHANGED
 public static final int DSK_ERR_CHANGED
Disc changed while LibDsk was using it.

 o DSK_ERR_ECHECK
 public static final int DSK_ERR_ECHECK
Equipment check.

 o DSK_ERR_OVERRUN
 public static final int DSK_ERR_OVERRUN
Overrun.

 o DSK_ERR_ACCESS
 public static final int DSK_ERR_ACCESS
Access denied.

 o DSK_ERR_CTRLR
 public static final int DSK_ERR_CTRLR
Controller failed.

 o DSK_ERR_UNKNOWN
 public static final int DSK_ERR_UNKNOWN
Unknown error.

Methods

 o getError
 public final int getError()
Return the LibDsk error code that caused this exception.


All Packages  Class Hierarchy  This Package  Previous  Next  Index