|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
netapp.manage.NaException
netapp.manage.NaAPIFailedException
Thrown to indicate that the API invocation failed. The server processed the request and returned a failure result including an errno code and a reason string.
| Constructor Summary | |
NaAPIFailedException(int errno,
java.lang.String reason)
Constructs a new NaAPIFailedException with
the specified errno and reason message. |
|
| Method Summary | |
int |
getErrno()
Return the errno value from an API result. |
java.lang.String |
getReason()
Return the reason for the API failure. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NaAPIFailedException(int errno,
java.lang.String reason)
NaAPIFailedException with
the specified errno and reason message.
errno - the error number.reason - the reason message.| Method Detail |
public int getErrno()
NaErrno.EINTERNALERROR as a
default.
public java.lang.String getReason()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||