edu.rit.device
Class DeviceRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rit.device.DeviceRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DevicePropertyFileException, DevicePropertyMissingException, DevicePropertyValueException

public class DeviceRuntimeException
extends RuntimeException

Class DeviceRuntimeException is the common base class for all unchecked RuntimeExceptions in package edu.rit.device.

See Also:
Serialized Form

Constructor Summary
DeviceRuntimeException()
          Construct a new device runtime exception with no detail message and no chained exception.
DeviceRuntimeException(String msg)
          Construct a new device runtime exception with the given detail message and no chained exception.
DeviceRuntimeException(String msg, Throwable exc)
          Construct a new device runtime exception with the given detail message and the given chained exception.
DeviceRuntimeException(Throwable exc)
          Construct a new device runtime exception with no detail message and the given chained exception.
 
Method Summary
 
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

DeviceRuntimeException

public DeviceRuntimeException()
Construct a new device runtime exception with no detail message and no chained exception.


DeviceRuntimeException

public DeviceRuntimeException(String msg)
Construct a new device runtime exception with the given detail message and no chained exception.

Parameters:
msg - Detail message.

DeviceRuntimeException

public DeviceRuntimeException(Throwable exc)
Construct a new device runtime exception with no detail message and the given chained exception.

Parameters:
exc - Chained exception.

DeviceRuntimeException

public DeviceRuntimeException(String msg,
                              Throwable exc)
Construct a new device runtime exception with the given detail message and the given chained exception.

Parameters:
msg - Detail message.
exc - Chained exception.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.