SunSPOT API V5.0


Uses of Class
java.lang.Exception

Packages that use Exception
com.sun.spot.dmamemory Support for allocating memory for DMA buffers. 
com.sun.spot.flashmanagement Low level access to chunks of flash memory. 
com.sun.spot.interisolate Generic support for RPC mechanisms between isolates. 
com.sun.spot.peripheral Access to the hardware peripherals built in to the Sun SPOT main board. 
com.sun.spot.peripheral.proxy Support for controlling PIO pins from child isolates. 
com.sun.spot.peripheral.radio Support for using the Sun SPOT's radio. 
com.sun.spot.peripheral.radio.proxy Allows child isolates access to the radio controlled by the master isolate. 
com.sun.spot.resourcesharing The resource sharing framework exists to support people writing device drivers. 
com.sun.spot.sensorboard.io Interfaces and concrete implmentations of classes to enable simple low-level i/o to and from the SunSPOT sensorboards. 
com.sun.spot.testFramework Provides a limited equivalent to jUnit for use on Sun SPOTs. 
com.sun.squawk.imp   
com.sun.squawk.io.mailboxes   
com.sun.squawk.peripheral   
com.sun.squawk.realtime   
com.sun.squawk.security.verifier   
com.sun.squawk.util   
java.io   
java.lang   
java.util   
javax.microedition.io   
javax.microedition.midlet   
javax.microedition.rms   
 

Uses of Exception in com.sun.spot.dmamemory
 

Subclasses of Exception in com.sun.spot.dmamemory
 class NotEnoughDMAMemoryException
          The exception that is thrown if a request for DMA memory cannot be satisfied
 

Uses of Exception in com.sun.spot.flashmanagement
 

Subclasses of Exception in com.sun.spot.flashmanagement
 class FlashFileNotFoundException
           
 

Uses of Exception in com.sun.spot.interisolate
 

Methods in com.sun.spot.interisolate that throw Exception
abstract  ReplyEnvelope RequestEnvelope.execute(Object context)
           
 

Uses of Exception in com.sun.spot.peripheral
 

Subclasses of Exception in com.sun.spot.peripheral
 class ChannelBusyException
          Thrown when an attempt to transmit over the radio fails because the channel is busy - and remains busy for a full set of retries.
 class NoAckException
          Thrown when an attempt to transmit over the radio fails because no acknowledgement is received within the time limit specified in the I802.15.4 standard.
 class NoRouteException
           
 class SpotFatalException
          This class represents all API precondition violations by client programs.
 class TimeoutException
          Thrown when an attempt to receive data over either a "radiostream:" or "radiogram:" connection fails due to a read timeout being exceeded.
 class UnableToDeepSleepException
          This exception is thrown when an attempt to ensure a deep sleep fails because deep sleep is impossible.
 

Uses of Exception in com.sun.spot.peripheral.proxy
 

Methods in com.sun.spot.peripheral.proxy that throw Exception
 ReplyEnvelope WaitForIrqCommand.execute(IAT91_PIO pio)
           
 ReplyEnvelope ReleaseCommand.execute(IAT91_PIO pio)
           
protected abstract  ReplyEnvelope PIOCommand.execute(IAT91_PIO pio)
           
 ReplyEnvelope GetAvailableCommand.execute(IAT91_PIO pio)
           
 ReplyEnvelope EnableIrqCommand.execute(IAT91_PIO pio)
           
 ReplyEnvelope DisableIrqCommand.execute(IAT91_PIO pio)
           
 ReplyEnvelope ClaimCommand.execute(IAT91_PIO pio)
           
 ReplyEnvelope PIOCommand.execute(Object context)
           
 

Uses of Exception in com.sun.spot.peripheral.radio
 

Subclasses of Exception in com.sun.spot.peripheral.radio
 class MAC_InvalidParameterException
          Thrown where an invalid parameter (typically attribute identifier, PAN id or channel number) is passed to an I802_15_4_MAC
 class MACException
          Thrown when an I802_15_4_MAC encounters unexpected errors in received radio packet format
 class NoMeshLayerAckException
           
 class PHY_InvalidParameterException
          Thrown when an invalid parameter is passed to an I802_15_4_PHY
 class PHY_UnsupportedAttributeException
          Thrown on an attempt to use an unsupported attribute using I802_15_4_PHY.plmeSet(int, int) or I802_15_4_PHY.plmeGet(int)
 class RadioOffException
          This exception is thrown when an attempt to write to a RadioOutputStream that implies a multi-hop send fails because the radio receiver is turned off (it fails because for a multi-hop send, the radio must receive a mesh ACK).
 

Uses of Exception in com.sun.spot.peripheral.radio.proxy
 

Methods in com.sun.spot.peripheral.radio.proxy that throw Exception
 ReplyEnvelope WaitForAllAcksCommand.execute(IRadioProtocolManager radioProtocolManager)
           
 

Uses of Exception in com.sun.spot.resourcesharing
 

Subclasses of Exception in com.sun.spot.resourcesharing
 class ResourceSharingException
          A problem has occurred during a resource sharing operation.
 class ResourceUnavailableException
          The resource is not currently available.
 

Methods in com.sun.spot.resourcesharing that throw Exception
 ReplyEnvelope UnlockCommand.execute(Object context)
           
 ReplyEnvelope UnlockAllCommand.execute(Object context)
           
 ReplyEnvelope RegisterCommand.execute(Object context)
           
 ReplyEnvelope LockCommand.execute(Object context)
           
 ReplyEnvelope AdjustLockCommand.execute(Object context)
           
 

Uses of Exception in com.sun.spot.sensorboard.io
 

Subclasses of Exception in com.sun.spot.sensorboard.io
 class IOPinException
           
 

Uses of Exception in com.sun.spot.testFramework
 

Methods in com.sun.spot.testFramework that throw Exception
 int ChildIsolateTestRunner.run(String[] classesToRun)
           
 void TestBase.setUp()
           
 void ITestCases.setUp()
          Implement this method in your test class to define behaviour run before each test.
 void TestBase.tearDown()
           
 void ITestCases.tearDown()
          Implement this method in your test class to define behaviour run after each test.
 void TestBase.test00()
           
 void ITestCases.test00()
           
 void TestBase.test01()
           
 void ITestCases.test01()
           
 void TestBase.test02()
           
 void ITestCases.test02()
           
 void TestBase.test03()
           
 void ITestCases.test03()
           
 void TestBase.test04()
           
 void ITestCases.test04()
           
 void TestBase.test05()
           
 void ITestCases.test05()
           
 void TestBase.test06()
           
 void ITestCases.test06()
           
 void TestBase.test07()
           
 void ITestCases.test07()
           
 void TestBase.test08()
           
 void ITestCases.test08()
           
 void TestBase.test09()
           
 void ITestCases.test09()
           
 void TestBase.test10()
           
 void ITestCases.test10()
           
 void TestBase.test11()
           
 void ITestCases.test11()
           
 void TestBase.test12()
           
 void ITestCases.test12()
           
 void TestBase.test13()
           
 void ITestCases.test13()
           
 void TestBase.test14()
           
 void ITestCases.test14()
           
 void TestBase.test15()
           
 void ITestCases.test15()
           
 void TestBase.test16()
           
 void ITestCases.test16()
           
 void TestBase.test17()
           
 void ITestCases.test17()
           
 void TestBase.test18()
           
 void ITestCases.test18()
           
 void TestBase.test19()
           
 void ITestCases.test19()
           
 void TestBase.test20()
           
 void ITestCases.test20()
           
 void TestBase.test21()
           
 void ITestCases.test21()
           
 void TestBase.test22()
           
 void ITestCases.test22()
           
 void TestBase.test23()
           
 void ITestCases.test23()
           
 void TestBase.test24()
           
 void ITestCases.test24()
           
 void TestBase.test25()
           
 void ITestCases.test25()
           
 void TestBase.test26()
           
 void ITestCases.test26()
           
 void TestBase.test27()
           
 void ITestCases.test27()
           
 void TestBase.test28()
           
 void ITestCases.test28()
           
 void TestBase.test29()
           
 void ITestCases.test29()
           
 

Uses of Exception in com.sun.squawk.imp
 

Methods in com.sun.squawk.imp that throw Exception
static void MIDletMainWrapper.main(String[] args)
           
 

Uses of Exception in com.sun.squawk.io.mailboxes
 

Subclasses of Exception in com.sun.squawk.io.mailboxes
 class AddressClosedException
          This exception is thrown when trying to send to a closed MailboxAddress, or when reading from a Mailbox, and the MailBoxHandler is managing a private address that has closed.
 class MailboxClosedException
          This exception is thrown when trying to receive from a closed Mailbox.
 class MailboxInUseException
          This exception is thrown when trying to send to register a mailbox under a name, and that name is already used.
 class NoSuchMailboxException
          This exception is thrown when trying to send to register a mailbox under a name, and that name is already used.
 

Uses of Exception in com.sun.squawk.peripheral
 

Subclasses of Exception in com.sun.squawk.peripheral
 class InsufficientFlashMemoryException
           
 

Uses of Exception in com.sun.squawk.realtime
 

Subclasses of Exception in com.sun.squawk.realtime
 class OffsetOutOfBoundsException
          Thrown if the constructor of a RawMemoryAccess, or RawMemoryFloatAccess is given an invalid address.
 class SizeOutOfBoundsException
          Thrown if the constructor of a RawMemoryAccess, or RawMemoryFloatAccess is given an invalid size or if an accessor method on one of the above classes would cause access to an invalid address.
 class UnsupportedPhysicalMemoryException
          Thrown when the underlying hardware does not support the type of physical memory requested from an instance of one of the physical memory or raw memory access classes.
 

Uses of Exception in com.sun.squawk.security.verifier
 

Subclasses of Exception in com.sun.squawk.security.verifier
 class SignatureVerifierException
           
 

Uses of Exception in com.sun.squawk.util
 

Subclasses of Exception in com.sun.squawk.util
 class UnexpectedException
           
 

Uses of Exception in java.io
 

Subclasses of Exception in java.io
 class EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 class InterruptedIOException
          Signals that an I/O operation has been interrupted.
 class IOException
          Signals that an I/O exception of some sort has occurred.
 class UnsupportedEncodingException
          The Character Encoding is not supported.
 class UTFDataFormatException
          Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
 

Uses of Exception in java.lang
 

Subclasses of Exception in java.lang
 class ArithmeticException
          Thrown when an exceptional arithmetic condition has occurred.
 class ArrayIndexOutOfBoundsException
          Thrown to indicate that an array has been accessed with an illegal index.
 class ArrayStoreException
          Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
 class ClassCastException
          Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 class ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
 class IllegalAccessException
          Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
 class IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
 class IllegalMonitorStateException
          Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
 class IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
 class IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 class IndexOutOfBoundsException
          Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
 class InstantiationException
          Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
 class InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
 class NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 class NullPointerException
          Thrown when an application attempts to use null in a case where an object is required.
 class NumberFormatException
          Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
 class RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 class SecurityException
          Thrown by the system to indicate a security violation.
 class StringIndexOutOfBoundsException
          Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
 

Uses of Exception in java.util
 

Subclasses of Exception in java.util
 class EmptyStackException
          Thrown by methods in the Stack class to indicate that the stack is empty.
 class NoSuchElementException
          Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
 

Uses of Exception in javax.microedition.io
 

Subclasses of Exception in javax.microedition.io
 class ConnectionNotFoundException
          This class is used to signal that a connection target cannot be found, or the protocol type is not supported.
 

Uses of Exception in javax.microedition.midlet
 

Subclasses of Exception in javax.microedition.midlet
 class MIDletStateChangeException
          Signals that a requested MIDlet state change failed.
 

Uses of Exception in javax.microedition.rms
 

Subclasses of Exception in javax.microedition.rms
 class InvalidRecordIDException
          Thrown to indicate an operation could not be completed because the record ID was invalid.
 class RecordStoreException
          Thrown to indicate a general exception occurred in a record store operation.
 class RecordStoreFullException
          Thrown to indicate an operation could not be completed because the record store system storage is full.
 class RecordStoreNotFoundException
          Thrown to indicate an operation could not be completed because the record store could not be found.
 class RecordStoreNotOpenException
          Thrown to indicate that an operation was attempted on a closed record store.
 


SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.