"

2013 FRC Java API

"

Uses of Class
java.lang.Throwable

Packages that use Throwable
com.ni.rio   
com.sun.squawk Provides classes for low level interactions with the Squawk VM. 
com.sun.squawk.debugger   
com.sun.squawk.io.j2me.file   
com.sun.squawk.io.mailboxes Provides classes for inter-Isolate communication. 
com.sun.squawk.peripheral   
com.sun.squawk.pragma   
com.sun.squawk.realtime Provides classes for native memory access based on the javax.realtime package. 
com.sun.squawk.security Provides classes for basic signing of binary data. 
com.sun.squawk.security.verifier Provides classes for basic signing of binary data. 
com.sun.squawk.util Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.) 
edu.wpi.first.wpilibj The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot. 
edu.wpi.first.wpilibj.camera Provides classes for interfacing to the camera. 
edu.wpi.first.wpilibj.can   
edu.wpi.first.wpilibj.command   
edu.wpi.first.wpilibj.communication Provides classes for communicating with the driver station and synchronizing with C/C++ code. 
edu.wpi.first.wpilibj.image Provides classes to access National Instrument's nivison library for machine vision enables automated image processing for color identification, tracking and analysis. 
edu.wpi.first.wpilibj.util Provides classes for utility robotics programming. 
edu.wpi.first.wpilibj.visa Provides classes to access I/O functions in visa.h. 
java.io Provides classes for input and output through data streams. 
java.lang MID Profile Language Classes included from Java 2 Standard Edition. 
java.util Contains the collection classes, and the date and time facilities. 
javax.microedition.io Classes for the Generic Connection framework. 
javax.microedition.midlet The MIDlet package defines Mobile Information Device Profile applications and the interactions between the application and the environment in which the application runs. 
javax.microedition.rms The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it. 
 

Uses of Throwable in com.ni.rio
 

Subclasses of Throwable in com.ni.rio
static class NiRioStatus.FatalStatusException
           
 

Uses of Throwable in com.sun.squawk
 

Subclasses of Throwable in com.sun.squawk
 class IllegalStoreException
          Thrown to indicate that an attempt has been made to store a pointer from persistent memory into non-persistent memory.
 

Methods in com.sun.squawk that return Throwable
static Throwable VM.printExceptionAndTrace(Throwable exc, String msg)
          Safely print exception and stack trace to System.err.
static Throwable VM.printExceptionAndTrace(Throwable exc, String msg, boolean printUsingThrowable)
          Safely print exception and stack trace to System.err.
 

Methods in com.sun.squawk with parameters of type Throwable
static Throwable VM.printExceptionAndTrace(Throwable exc, String msg)
          Safely print exception and stack trace to System.err.
static Throwable VM.printExceptionAndTrace(Throwable exc, String msg, boolean printUsingThrowable)
          Safely print exception and stack trace to System.err.
 

Constructors in com.sun.squawk with parameters of type Throwable
Debugger.ExceptionEvent(Throwable exception, ExecutionPoint throwLocation, ExecutionPoint catchLocation, boolean isCaught)
           
 

Uses of Throwable in com.sun.squawk.debugger
 

Subclasses of Throwable in com.sun.squawk.debugger
static class JDWPConnection.ClosedException
           
static class JDWPListener.QuitException
          A QuitException is thrown by #waitForCommand and #waitForReply if this listener quits before receving the relevant packet.
 class SDWPException
          A SDWPException is thrown when there is an error parsing or handling a JDWP/SDWP request.
 

Uses of Throwable in com.sun.squawk.io.j2me.file
 

Subclasses of Throwable in com.sun.squawk.io.j2me.file
 class ConnectionClosedException
          This class is defined by the JSR-75 specification PDA Optional Packages for the J2ME™ Platform
 

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

Subclasses of Throwable 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 Throwable in com.sun.squawk.peripheral
 

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

Uses of Throwable in com.sun.squawk.pragma
 

Subclasses of Throwable in com.sun.squawk.pragma
 class AllowInlinedPragma
          Allow a method declared to throw this exception to be inlined.
 class ForceInlinedPragma
          Any method declared to throw this exception will be inlined by the translator and cause a LinkageError if it can't be inlined.
 class HostedPragma
          Any method declared to throw this exception is only called from within a hosted environment.
 class InterpreterInvokedPragma
          Any method declared to throw this exception should only be called from the interpreter or from JIT compiled code.
 class NativePragma
          Any method declared to throw this exception will be turned into a native method by the translator.
 class NotInlinedPragma
          Any method declared to throw this exception will never be inlined by the translator.
 class PragmaException
          The root of the pragma exception hierarchy.
 class ReplacementConstructorPragma
          Denotes a method (that must be static) whose code replaces the body of the constructor with the same declared parameter types.
 

Uses of Throwable in com.sun.squawk.realtime
 

Subclasses of Throwable 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 Throwable in com.sun.squawk.security
 

Subclasses of Throwable in com.sun.squawk.security
 class CryptoException
          CryptoException represents a cryptography-related exception.
 

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

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

Uses of Throwable in com.sun.squawk.util
 

Subclasses of Throwable in com.sun.squawk.util
 class NotImplementedYetException
          Thrown to indicate that an attempt has been made to invoke code that is not yet complete.
 class UnexpectedException
           
 

Fields in com.sun.squawk.util declared as Throwable
protected  Throwable UnexpectedException.unexpected
           
 

Constructors in com.sun.squawk.util with parameters of type Throwable
UnexpectedException(String message, Throwable unexpected)
           
UnexpectedException(Throwable unexpected)
           
 

Uses of Throwable in edu.wpi.first.wpilibj
 

Subclasses of Throwable in edu.wpi.first.wpilibj
 class AnalogTrigger.AnalogTriggerException
          Exceptions dealing with improper operation of the Analog trigger
 class AnalogTriggerOutput.AnalogTriggerOutputException
          Exceptions dealing with improper operation of the Analog trigger output
static class DriverStationEnhancedIO.EnhancedIOException
           
 class HiTechnicColorSensor.ColorSensorException
          An exception dealing with connecting to and communicating with the HiTechnicCompass
 class HiTechnicCompass.CompassException
          An exception dealing with connecting to and communicating with the HiTechnicCompass
static class Preferences.ImproperPreferenceKeyException
          Should be thrown if a string can not be used as a key in the preferences file.
static class Preferences.IncompatibleTypeException
          This exception is thrown if the a value requested cannot be converted to the requested type.
 class Relay.InvalidValueException
          This class represents errors in trying to set relay values contradictory to the direction to which the relay is set.
static class SPIDevice.BadSPIConfigException
           
 

Uses of Throwable in edu.wpi.first.wpilibj.camera
 

Subclasses of Throwable in edu.wpi.first.wpilibj.camera
 class AxisCameraException
          An exception representing a problem with communicating with the camera.
 

Uses of Throwable in edu.wpi.first.wpilibj.can
 

Subclasses of Throwable in edu.wpi.first.wpilibj.can
 class CANInvalidBufferException
          Exception indicating that a CAN driver library entry-point was passed an invalid buffer.
 class CANJaguarVersionException
          Exception indicating that the CAN driver layer has not been initialized.
 class CANMessageNotAllowedException
          Exception indicating that the Jaguar CAN Driver layer refused to send a restricted message ID to the CAN bus.
 class CANNotInitializedException
          Exception indicating that the CAN driver layer has not been initialized.
 class CANTimeoutException
          Exception indicating that the CAN device did not respond within the timeout period specified.
 

Uses of Throwable in edu.wpi.first.wpilibj.command
 

Subclasses of Throwable in edu.wpi.first.wpilibj.command
 class IllegalUseOfCommandException
          This exception will be thrown if a command is used illegally.
 

Uses of Throwable in edu.wpi.first.wpilibj.communication
 

Subclasses of Throwable in edu.wpi.first.wpilibj.communication
 class SemaphoreException
           
 

Uses of Throwable in edu.wpi.first.wpilibj.image
 

Subclasses of Throwable in edu.wpi.first.wpilibj.image
 class NIVisionException
          Exception class which looks up nivision error codes
 

Uses of Throwable in edu.wpi.first.wpilibj.util
 

Subclasses of Throwable in edu.wpi.first.wpilibj.util
 class AllocationException
          Exception indicating that the resource is already allocated
 class BoundaryException
          This exception represents an error in which a lower limit was set as higher than an upper limit.
 class CheckedAllocationException
          Exception indicating that the resource is already allocated This is meant to be thrown by the resource class
 class UncleanStatusException
          Exception for bad status codes from the chip object
 

Uses of Throwable in edu.wpi.first.wpilibj.visa
 

Subclasses of Throwable in edu.wpi.first.wpilibj.visa
 class VisaException
          Exception class which looks up visa error codes
 

Uses of Throwable in java.io
 

Subclasses of Throwable 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 Throwable in java.lang
 

Subclasses of Throwable 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 Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
 class Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
 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 NoClassDefFoundError
          Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
 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 OutOfMemoryError
          Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
 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.
 class VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Uses of Throwable in java.util
 

Subclasses of Throwable 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 Throwable in javax.microedition.io
 

Subclasses of Throwable 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 Throwable in javax.microedition.midlet
 

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

Uses of Throwable in javax.microedition.rms
 

Subclasses of Throwable 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.
 


"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"