|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectThrowable
Exception
org.opennfc.NfcException
public final class NfcException
This NfcException is thrown when an error is detected in the NFC API.
| Constructor Summary | |
|---|---|
NfcException(NfcErrorCode code)
Creates a new NFC exception. |
|
NfcException(String message,
NfcErrorCode code)
Creates a new NFC exception. |
|
| Method Summary | |
|---|---|
NfcErrorCode |
getCode()
Returns the code of the error causing the exception. |
String |
getMessage()
Returns the message of the exception. |
String |
toString()
Returns the string value of the exception. |
| Methods inherited from class Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NfcException(String message,
NfcErrorCode code)
message - the exception message.code - the code of the error causing the exception.public NfcException(NfcErrorCode code)
code - the code of the error causing the exception.| Method Detail |
|---|
public NfcErrorCode getCode()
public String toString()
toString in class Throwablepublic String getMessage()
getMessage in class Throwable
|
Copyright © 2010-2011 Inside Secure |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||