URL
https://opencores.org/ocsvn/usb_fpga_1_2/usb_fpga_1_2/trunk
[/] [usb_fpga_1_2/] [trunk/] [java/] [ztex/] [DeviceLostException.java] - Diff between revs 2 and 3
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
Line 16... |
Line 16... |
along with this program; if not, see http://www.gnu.org/licenses/.
|
along with this program; if not, see http://www.gnu.org/licenses/.
|
!*/
|
!*/
|
|
|
package ztex;
|
package ztex;
|
|
|
|
/** * Thrown if a device went lost after renumeration. */
|
public class DeviceLostException extends Exception {
|
public class DeviceLostException extends Exception {
|
|
/**
|
|
* Constructs an instance from the given input string.
|
|
* @param msg A message.
|
|
*/
|
public DeviceLostException (String msg) {
|
public DeviceLostException (String msg) {
|
super( msg );
|
super( msg );
|
}
|
}
|
|
|
|
/** * Constructs an instance using a standard message. */
|
public DeviceLostException () {
|
public DeviceLostException () {
|
super( "Device lost");
|
super( "Device lost");
|
}
|
}
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.