tcl.lang
Class TclPosixException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
tcl.lang.TclException
              
tcl.lang.TclPosixException
- All Implemented Interfaces: 
 - Serializable
 
public class TclPosixException
- extends TclException
 
- See Also:
 - Serialized Form
 
 
 
| 
Constructor Summary | 
TclPosixException(Interp interp,
                  int errno,
                  boolean appendPosixMsg,
                  String errorMsg)
 
          Creates a TclException with the appropiate Tcl error message for posix
 error, and sets the interp's error code to a 3 element list (eg. | 
TclPosixException(Interp interp,
                  int errno,
                  String errorMsg)
 
          Creates a TclException with the appropiate Tcl error message for posix
 error, and sets the interp's error code to a 3 element list (eg. | 
TclPosixException(Interp interp,
                  IOException ioException,
                  boolean appendPosixMsg,
                  String errorMessage)
 
          Construct a TclPosixException from a Java IOException | 
 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
EPERM
public static final int EPERM
- See Also:
 - Constant Field Values
 
ENOENT
public static final int ENOENT
- See Also:
 - Constant Field Values
 
ESRCH
public static final int ESRCH
- See Also:
 - Constant Field Values
 
EINTR
public static final int EINTR
- See Also:
 - Constant Field Values
 
EIO
public static final int EIO
- See Also:
 - Constant Field Values
 
ENXIO
public static final int ENXIO
- See Also:
 - Constant Field Values
 
E2BIG
public static final int E2BIG
- See Also:
 - Constant Field Values
 
ENOEXEC
public static final int ENOEXEC
- See Also:
 - Constant Field Values
 
EBADF
public static final int EBADF
- See Also:
 - Constant Field Values
 
ECHILD
public static final int ECHILD
- See Also:
 - Constant Field Values
 
EDEADLK
public static final int EDEADLK
- See Also:
 - Constant Field Values
 
ENOMEM
public static final int ENOMEM
- See Also:
 - Constant Field Values
 
EACCES
public static final int EACCES
- See Also:
 - Constant Field Values
 
EFAULT
public static final int EFAULT
- See Also:
 - Constant Field Values
 
ENOTBLK
public static final int ENOTBLK
- See Also:
 - Constant Field Values
 
EBUSY
public static final int EBUSY
- See Also:
 - Constant Field Values
 
EEXIST
public static final int EEXIST
- See Also:
 - Constant Field Values
 
EXDEV
public static final int EXDEV
- See Also:
 - Constant Field Values
 
ENODEV
public static final int ENODEV
- See Also:
 - Constant Field Values
 
ENOTDIR
public static final int ENOTDIR
- See Also:
 - Constant Field Values
 
EISDIR
public static final int EISDIR
- See Also:
 - Constant Field Values
 
EINVAL
public static final int EINVAL
- See Also:
 - Constant Field Values
 
ENFILE
public static final int ENFILE
- See Also:
 - Constant Field Values
 
EMFILE
public static final int EMFILE
- See Also:
 - Constant Field Values
 
ENOTTY
public static final int ENOTTY
- See Also:
 - Constant Field Values
 
ETXTBSY
public static final int ETXTBSY
- See Also:
 - Constant Field Values
 
EFBIG
public static final int EFBIG
- See Also:
 - Constant Field Values
 
ENOSPC
public static final int ENOSPC
- See Also:
 - Constant Field Values
 
ESPIPE
public static final int ESPIPE
- See Also:
 - Constant Field Values
 
EROFS
public static final int EROFS
- See Also:
 - Constant Field Values
 
EMLINK
public static final int EMLINK
- See Also:
 - Constant Field Values
 
EPIPE
public static final int EPIPE
- See Also:
 - Constant Field Values
 
EDOM
public static final int EDOM
- See Also:
 - Constant Field Values
 
ERANGE
public static final int ERANGE
- See Also:
 - Constant Field Values
 
EAGAIN
public static final int EAGAIN
- See Also:
 - Constant Field Values
 
EWOULDBLOCK
public static final int EWOULDBLOCK
- See Also:
 - Constant Field Values
 
EINPROGRESS
public static final int EINPROGRESS
- See Also:
 - Constant Field Values
 
EALREADY
public static final int EALREADY
- See Also:
 - Constant Field Values
 
ENOTSOCK
public static final int ENOTSOCK
- See Also:
 - Constant Field Values
 
EDESTADDRREQ
public static final int EDESTADDRREQ
- See Also:
 - Constant Field Values
 
EMSGSIZE
public static final int EMSGSIZE
- See Also:
 - Constant Field Values
 
EPROTOTYPE
public static final int EPROTOTYPE
- See Also:
 - Constant Field Values
 
ENOPROTOOPT
public static final int ENOPROTOOPT
- See Also:
 - Constant Field Values
 
EPROTONOSUPPORT
public static final int EPROTONOSUPPORT
- See Also:
 - Constant Field Values
 
ESOCKTNOSUPPORT
public static final int ESOCKTNOSUPPORT
- See Also:
 - Constant Field Values
 
EOPNOTSUPP
public static final int EOPNOTSUPP
- See Also:
 - Constant Field Values
 
EPFNOSUPPORT
public static final int EPFNOSUPPORT
- See Also:
 - Constant Field Values
 
EAFNOSUPPORT
public static final int EAFNOSUPPORT
- See Also:
 - Constant Field Values
 
EADDRINUSE
public static final int EADDRINUSE
- See Also:
 - Constant Field Values
 
EADDRNOTAVAIL
public static final int EADDRNOTAVAIL
- See Also:
 - Constant Field Values
 
ENETDOWN
public static final int ENETDOWN
- See Also:
 - Constant Field Values
 
ENETUNREACH
public static final int ENETUNREACH
- See Also:
 - Constant Field Values
 
ENETRESET
public static final int ENETRESET
- See Also:
 - Constant Field Values
 
ECONNABORTED
public static final int ECONNABORTED
- See Also:
 - Constant Field Values
 
ECONNRESET
public static final int ECONNRESET
- See Also:
 - Constant Field Values
 
ENOBUFS
public static final int ENOBUFS
- See Also:
 - Constant Field Values
 
EISCONN
public static final int EISCONN
- See Also:
 - Constant Field Values
 
ENOTCONN
public static final int ENOTCONN
- See Also:
 - Constant Field Values
 
ESHUTDOWN
public static final int ESHUTDOWN
- See Also:
 - Constant Field Values
 
ETOOMANYREFS
public static final int ETOOMANYREFS
- See Also:
 - Constant Field Values
 
ETIMEDOUT
public static final int ETIMEDOUT
- See Also:
 - Constant Field Values
 
ECONNREFUSED
public static final int ECONNREFUSED
- See Also:
 - Constant Field Values
 
ELOOP
public static final int ELOOP
- See Also:
 - Constant Field Values
 
ENAMETOOLONG
public static final int ENAMETOOLONG
- See Also:
 - Constant Field Values
 
EHOSTDOWN
public static final int EHOSTDOWN
- See Also:
 - Constant Field Values
 
EHOSTUNREACH
public static final int EHOSTUNREACH
- See Also:
 - Constant Field Values
 
ENOTEMPTY
public static final int ENOTEMPTY
- See Also:
 - Constant Field Values
 
EPROCLIM
public static final int EPROCLIM
- See Also:
 - Constant Field Values
 
EUSERS
public static final int EUSERS
- See Also:
 - Constant Field Values
 
EDQUOT
public static final int EDQUOT
- See Also:
 - Constant Field Values
 
ESTALE
public static final int ESTALE
- See Also:
 - Constant Field Values
 
EREMOTE
public static final int EREMOTE
- See Also:
 - Constant Field Values
 
EBADRPC
public static final int EBADRPC
- See Also:
 - Constant Field Values
 
ERPCMISMATCH
public static final int ERPCMISMATCH
- See Also:
 - Constant Field Values
 
EPROGUNAVAIL
public static final int EPROGUNAVAIL
- See Also:
 - Constant Field Values
 
EPROGMISMATCH
public static final int EPROGMISMATCH
- See Also:
 - Constant Field Values
 
EPROCUNAVAIL
public static final int EPROCUNAVAIL
- See Also:
 - Constant Field Values
 
ENOLCK
public static final int ENOLCK
- See Also:
 - Constant Field Values
 
ENOSYS
public static final int ENOSYS
- See Also:
 - Constant Field Values
 
EFTYPE
public static final int EFTYPE
- See Also:
 - Constant Field Values
 
TclPosixException
public TclPosixException(Interp interp,
                         int errno,
                         String errorMsg)
                  throws TclException
- Creates a TclException with the appropiate Tcl error message for posix
 error, and sets the interp's error code to a 3 element list (eg. {"posix"
 "eexist" {file already exists}}).  Does not append posix message to intepreter result.
- Parameters:
 interp - Current interpretor, or nullerrno - code of posix errorerrorMsg - message to output to user
- Throws:
 TclException
 
TclPosixException
public TclPosixException(Interp interp,
                         int errno,
                         boolean appendPosixMsg,
                         String errorMsg)
                  throws TclException
- Creates a TclException with the appropiate Tcl error message for posix
 error, and sets the interp's error code to a 3 element list (eg. {"posix"
 "eexist" {file already exists}}).
- Parameters:
 interp - Current interpretor, or nullerrno - code of posix errorappendPosixMsg - if true, appends posix message to errorMsg in interpreter resulterrorMsg - message to output to user
- Throws:
 TclException
 
TclPosixException
public TclPosixException(Interp interp,
                         IOException ioException,
                         boolean appendPosixMsg,
                         String errorMessage)
                  throws TclException
- Construct a TclPosixException from a Java IOException
- Parameters:
 interp - current interpreterioException - The IOException that was thrownappendPosixMsg - true if the Posix message should be appended to the errorMessage in the interpreter resulterrorMessage - error message to return in interpreter result
- Throws:
 TclException
 
getErrorNo
public int getErrorNo()
- Returns:
 - the error number for this TclPosixException
 
 
Copyright © 2015. All rights reserved.