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.
-
DSK_ERR_ACCESS
- Access denied.
-
DSK_ERR_BADFMT
- Bad format.
-
DSK_ERR_BADPARM
- Bad parameter passed to LibDsk.
-
DSK_ERR_BADPTR
- Bad pointer passed to LibDsk.
-
DSK_ERR_CHANGED
- Disc changed while LibDsk was using it.
-
DSK_ERR_CTRLR
- Controller failed.
-
DSK_ERR_DATAERR
- Data error.
-
DSK_ERR_DIVZERO
- Division by zero.
-
DSK_ERR_ECHECK
- Equipment check.
-
DSK_ERR_MISMATCH
- Sector read did not match sector on disc
-
DSK_ERR_NOADDR
- Missing address mark.
-
DSK_ERR_NODATA
- No data.
-
DSK_ERR_NODRVR
- No such LibDsk driver.
-
DSK_ERR_NOMEM
- Out of memory
-
DSK_ERR_NOTIMPL
- Function not implemented
-
DSK_ERR_NOTME
- LibDsk driver rejected the disc.
-
DSK_ERR_NOTRDY
- Drive not ready.
-
DSK_ERR_OK
- No error
-
DSK_ERR_OVERRUN
- Overrun.
-
DSK_ERR_RDONLY
- Drive is read-only.
-
DSK_ERR_SEEKFAIL
- Seek failed.
-
DSK_ERR_SYSERR
- System call failed.
-
DSK_ERR_UNKNOWN
- Unknown error.
-
getError()
- Return the LibDsk error code that caused this exception.
DSK_ERR_OK
public static final int DSK_ERR_OK
- No error
DSK_ERR_BADPTR
public static final int DSK_ERR_BADPTR
- Bad pointer passed to LibDsk.
DSK_ERR_DIVZERO
public static final int DSK_ERR_DIVZERO
- Division by zero.
DSK_ERR_BADPARM
public static final int DSK_ERR_BADPARM
- Bad parameter passed to LibDsk.
DSK_ERR_NODRVR
public static final int DSK_ERR_NODRVR
- No such LibDsk driver.
DSK_ERR_NOTME
public static final int DSK_ERR_NOTME
- LibDsk driver rejected the disc.
DSK_ERR_SYSERR
public static final int DSK_ERR_SYSERR
- System call failed.
DSK_ERR_NOMEM
public static final int DSK_ERR_NOMEM
- Out of memory
DSK_ERR_NOTIMPL
public static final int DSK_ERR_NOTIMPL
- Function not implemented
DSK_ERR_MISMATCH
public static final int DSK_ERR_MISMATCH
- Sector read did not match sector on disc
DSK_ERR_NOTRDY
public static final int DSK_ERR_NOTRDY
- Drive not ready.
DSK_ERR_RDONLY
public static final int DSK_ERR_RDONLY
- Drive is read-only.
DSK_ERR_SEEKFAIL
public static final int DSK_ERR_SEEKFAIL
- Seek failed.
DSK_ERR_DATAERR
public static final int DSK_ERR_DATAERR
- Data error.
DSK_ERR_NODATA
public static final int DSK_ERR_NODATA
- No data.
DSK_ERR_NOADDR
public static final int DSK_ERR_NOADDR
- Missing address mark.
DSK_ERR_BADFMT
public static final int DSK_ERR_BADFMT
- Bad format.
DSK_ERR_CHANGED
public static final int DSK_ERR_CHANGED
- Disc changed while LibDsk was using it.
DSK_ERR_ECHECK
public static final int DSK_ERR_ECHECK
- Equipment check.
DSK_ERR_OVERRUN
public static final int DSK_ERR_OVERRUN
- Overrun.
DSK_ERR_ACCESS
public static final int DSK_ERR_ACCESS
- Access denied.
DSK_ERR_CTRLR
public static final int DSK_ERR_CTRLR
- Controller failed.
DSK_ERR_UNKNOWN
public static final int DSK_ERR_UNKNOWN
- Unknown error.
getError
public final int getError()
- Return the LibDsk error code that caused this exception.
All Packages Class Hierarchy This Package Previous Next Index