net.rim.device.api.io.nfc
Class NFCInUseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by net.rim.device.api.io.nfc.NFCException
                  extended by net.rim.device.api.io.nfc.NFCInUseException

public class NFCInUseException
extends NFCException

Indicates that some exclusive NFC functionality, such as NFC virtual target emulation, is already in use.

Since:
BlackBerry API 7.0.0

Constructor Summary
NFCInUseException(String message, String applicationName)
          Creates an exception.
 
Method Summary
 String getApplicationName()
          Returns the name of the application that is using some exclusive NFC functionality.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Constructor Detail

NFCInUseException

public NFCInUseException(String message,
                         String applicationName)
Creates an exception.

Parameters:
message - The message passed to the exception.
applicationName - The name of the application that is using some exclusive NFC functionality.
Since:
BlackBerry API 7.0.0


Method Detail

getApplicationName

public String getApplicationName()
Returns the name of the application that is using some exclusive NFC functionality.

Returns:
The name of the application that is using some exclusive NFC functionality.
Since:
BlackBerry API 7.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal