|
Java AFS Admin API v1.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.openafs.jafsadm.AFSAdminException
An exception indicating that an error has occured in the Java AFS Administrative API, in the Java AFS Administrative JNI, or in the AFS file system.
Constructor Summary | |
AFSAdminException(int errno)
Constructs a AFSAdminException with the specified error
code. |
|
AFSAdminException(String message)
Constructs a AFSAdminException with the specified detail
message. |
|
AFSAdminException(String message,
int errno)
Constructs a AFSAdminException with the specified detail
message
and specified error code. |
Method Summary | |
int |
getErrorCode()
Returns the AFS specific error code (number). |
String |
getMessage()
Returns the error message string of this Exception. |
String |
toString()
Returns a String representation of this AFS Exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AFSAdminException(String message)
AFSAdminException
with the specified detail
message.message
- the detail message.public AFSAdminException(int errno)
AFSAdminException
with the specified error
code.errno
- the AFS error code (error number).public AFSAdminException(String message, int errno)
AFSAdminException
with the specified detail
message
and specified error code.message
- the detail message.errno
- the AFS error code (error number).Method Detail |
public int getErrorCode()
AFSAdminException
object.public String getMessage()
Example: "Message not available. Error code: 180484"
getMessage
in class Throwable
AFSAdminException
object.getErrorCode()
public String toString()
The message will be formatted according to the specified Locale.
toString
in class Throwable
AFSAdminException
object.getMessage()
|
Java AFS Admin (jafsadm) API for OpenAFS | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |