URL
https://opencores.org/ocsvn/usb_fpga_2_04/usb_fpga_2_04/trunk
[/] [usb_fpga_2_04/] [trunk/] [java/] [ztex/] [BitstreamUploadException.java] - Blame information for rev 2
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
2 |
ZTEX |
/*!
|
2 |
|
|
Java host software API of ZTEX SDK
|
3 |
|
|
Copyright (C) 2009-2014 ZTEX GmbH.
|
4 |
|
|
http://www.ztex.de
|
5 |
|
|
|
6 |
|
|
This program is free software; you can redistribute it and/or modify
|
7 |
|
|
it under the terms of the GNU General Public License version 3 as
|
8 |
|
|
published by the Free Software Foundation.
|
9 |
|
|
|
10 |
|
|
This program is distributed in the hope that it will be useful, but
|
11 |
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13 |
|
|
General Public License for more details.
|
14 |
|
|
|
15 |
|
|
You should have received a copy of the GNU General Public License
|
16 |
|
|
along with this program; if not, see http://www.gnu.org/licenses/.
|
17 |
|
|
!*/
|
18 |
|
|
|
19 |
|
|
package ztex;
|
20 |
|
|
/** * Signals that an error occurred while attempting to upload the bitstream. */
|
21 |
|
|
public class BitstreamUploadException extends Exception {
|
22 |
|
|
/**
|
23 |
|
|
* Constructs an instance from the given error message.
|
24 |
|
|
* @param msg The error message.
|
25 |
|
|
*/
|
26 |
|
|
public BitstreamUploadException (String msg) {
|
27 |
|
|
super( "Error uploading bitstream: "+msg );
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
/** * Constructs an instance using a standard message. */
|
31 |
|
|
public BitstreamUploadException () {
|
32 |
|
|
super( "Error uploading bitstream" );
|
33 |
|
|
}
|
34 |
|
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.