public enum ErrorCode extends Enum<ErrorCode>
| Modifier and Type | Method and Description |
|---|---|
int |
code()
Error code number.
|
static ErrorCode |
fromCode(int c) |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode EZFS_NOMEM
public static final ErrorCode EZFS_BADPROP
public static final ErrorCode EZFS_PROPREADONLY
public static final ErrorCode EZFS_PROPTYPE
public static final ErrorCode EZFS_PROPNONINHERIT
public static final ErrorCode EZFS_PROPSPACE
public static final ErrorCode EZFS_BADTYPE
public static final ErrorCode EZFS_BUSY
public static final ErrorCode EZFS_EXISTS
public static final ErrorCode EZFS_NOENT
public static final ErrorCode EZFS_BADSTREAM
public static final ErrorCode EZFS_DSREADONLY
public static final ErrorCode EZFS_VOLTOOBIG
public static final ErrorCode EZFS_VOLHASDATA
public static final ErrorCode EZFS_INVALIDNAME
public static final ErrorCode EZFS_BADRESTORE
public static final ErrorCode EZFS_BADBACKUP
public static final ErrorCode EZFS_BADTARGET
public static final ErrorCode EZFS_NODEVICE
public static final ErrorCode EZFS_BADDEV
public static final ErrorCode EZFS_NOREPLICAS
public static final ErrorCode EZFS_RESILVERING
public static final ErrorCode EZFS_BADVERSION
public static final ErrorCode EZFS_POOLUNAVAIL
public static final ErrorCode EZFS_DEVOVERFLOW
public static final ErrorCode EZFS_BADPATH
public static final ErrorCode EZFS_CROSSTARGET
public static final ErrorCode EZFS_ZONED
public static final ErrorCode EZFS_MOUNTFAILED
public static final ErrorCode EZFS_UMOUNTFAILED
public static final ErrorCode EZFS_UNSHARENFSFAILED
public static final ErrorCode EZFS_SHARENFSFAILED
public static final ErrorCode EZFS_DEVLINKS
public static final ErrorCode EZFS_PERM
public static final ErrorCode EZFS_NOSPC
public static final ErrorCode EZFS_IO
public static final ErrorCode EZFS_INTR
public static final ErrorCode EZFS_ISSPARE
public static final ErrorCode EZFS_INVALCONFIG
public static final ErrorCode EZFS_RECURSIVE
public static final ErrorCode EZFS_NOHISTORY
public static final ErrorCode EZFS_UNSHAREISCSIFAILED
public static final ErrorCode EZFS_SHAREISCSIFAILED
public static final ErrorCode EZFS_POOLPROPS
public static final ErrorCode EZFS_POOL_NOTSUP
public static final ErrorCode EZFS_POOL_INVALARG
public static final ErrorCode EZFS_NAMETOOLONG
public static final ErrorCode EZFS_OPENFAILED
public static final ErrorCode EZFS_NOCAP
public static final ErrorCode EZFS_LABELFAILED
public static final ErrorCode EZFS_ISCSISVCUNAVAIL
public static final ErrorCode EZFS_BADWHO
public static final ErrorCode EZFS_BADPERM
public static final ErrorCode EZFS_BADPERMSET
public static final ErrorCode EZFS_NODELEGATION
public static final ErrorCode EZFS_PERMRDONLY
public static final ErrorCode EZFS_UNSHARESMBFAILED
public static final ErrorCode EZFS_SHARESMBFAILED
public static final ErrorCode EZFS_BADCACHE
public static final ErrorCode EZFS_ISL2CACHE
public static final ErrorCode EZFS_VDEVNOTSUP
public static final ErrorCode EZFS_UNKNOWN
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int code()
public static ErrorCode fromCode(int c)
Copyright © 2008–2017. All rights reserved.