com.sun.nfs
Class NfsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.sun.nfs.NfsException
All Implemented Interfaces:
java.io.Serializable

public class NfsException
extends java.io.IOException

This exception is thrown whenever an NFS error occurs.

See Also:
Serialized Form

Field Summary
static int NFS_OK
           
static int NFSERR_ACCES
           
static int NFSERR_BAD_COOKIE
           
static int NFSERR_BADHANDLE
           
static int NFSERR_BADTYPE
           
static int NFSERR_DQUOT
           
static int NFSERR_EXIST
           
static int NFSERR_FBIG
           
static int NFSERR_INVAL
           
static int NFSERR_IO
           
static int NFSERR_ISDIR
           
static int NFSERR_JUKEBOX
           
static int NFSERR_MLINK
           
static int NFSERR_NAMETOOLONG
           
static int NFSERR_NODEV
           
static int NFSERR_NOENT
           
static int NFSERR_NOSPC
           
static int NFSERR_NOT_SYNC
           
static int NFSERR_NOTDIR
           
static int NFSERR_NOTEMPTY
           
static int NFSERR_NOTSUPP
           
static int NFSERR_NXIO
           
static int NFSERR_PERM
           
static int NFSERR_REMOTE
           
static int NFSERR_ROFS
           
static int NFSERR_SERVERFAULT
           
static int NFSERR_STALE
           
static int NFSERR_TOOSMALL
           
static int NFSERR_XDEV
           
 
Constructor Summary
NfsException(int error)
          Create a new NfsException
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NFS_OK

public static final int NFS_OK
See Also:
Constant Field Values

NFSERR_PERM

public static final int NFSERR_PERM
See Also:
Constant Field Values

NFSERR_NOENT

public static final int NFSERR_NOENT
See Also:
Constant Field Values

NFSERR_IO

public static final int NFSERR_IO
See Also:
Constant Field Values

NFSERR_NXIO

public static final int NFSERR_NXIO
See Also:
Constant Field Values

NFSERR_ACCES

public static final int NFSERR_ACCES
See Also:
Constant Field Values

NFSERR_EXIST

public static final int NFSERR_EXIST
See Also:
Constant Field Values

NFSERR_XDEV

public static final int NFSERR_XDEV
See Also:
Constant Field Values

NFSERR_NODEV

public static final int NFSERR_NODEV
See Also:
Constant Field Values

NFSERR_NOTDIR

public static final int NFSERR_NOTDIR
See Also:
Constant Field Values

NFSERR_ISDIR

public static final int NFSERR_ISDIR
See Also:
Constant Field Values

NFSERR_INVAL

public static final int NFSERR_INVAL
See Also:
Constant Field Values

NFSERR_FBIG

public static final int NFSERR_FBIG
See Also:
Constant Field Values

NFSERR_NOSPC

public static final int NFSERR_NOSPC
See Also:
Constant Field Values

NFSERR_ROFS

public static final int NFSERR_ROFS
See Also:
Constant Field Values

NFSERR_MLINK

public static final int NFSERR_MLINK
See Also:
Constant Field Values

NFSERR_NAMETOOLONG

public static final int NFSERR_NAMETOOLONG
See Also:
Constant Field Values

NFSERR_NOTEMPTY

public static final int NFSERR_NOTEMPTY
See Also:
Constant Field Values

NFSERR_DQUOT

public static final int NFSERR_DQUOT
See Also:
Constant Field Values

NFSERR_STALE

public static final int NFSERR_STALE
See Also:
Constant Field Values

NFSERR_REMOTE

public static final int NFSERR_REMOTE
See Also:
Constant Field Values

NFSERR_BADHANDLE

public static final int NFSERR_BADHANDLE
See Also:
Constant Field Values

NFSERR_NOT_SYNC

public static final int NFSERR_NOT_SYNC
See Also:
Constant Field Values

NFSERR_BAD_COOKIE

public static final int NFSERR_BAD_COOKIE
See Also:
Constant Field Values

NFSERR_NOTSUPP

public static final int NFSERR_NOTSUPP
See Also:
Constant Field Values

NFSERR_TOOSMALL

public static final int NFSERR_TOOSMALL
See Also:
Constant Field Values

NFSERR_SERVERFAULT

public static final int NFSERR_SERVERFAULT
See Also:
Constant Field Values

NFSERR_BADTYPE

public static final int NFSERR_BADTYPE
See Also:
Constant Field Values

NFSERR_JUKEBOX

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

NfsException

public NfsException(int error)
Create a new NfsException

Parameters:
NFS - error number for this error
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable