diff options
| author | Schuyler Eldridge | 2018-10-24 14:36:05 -0400 |
|---|---|---|
| committer | Schuyler Eldridge | 2018-10-24 18:58:02 -0400 |
| commit | 3d3bc2fb9cf602f289852267db1f2193893bf1e7 (patch) | |
| tree | bf9efdcd7e1c8fb50175686810531be07747e8a9 /scripts | |
| parent | 69f9060f1439dae88146e850208148caf12bb059 (diff) | |
Better error message on missing BlackBox resource
This wraps interactions with a BlackBox resource file such that a
FileNotFoundException are wrapped in a BlackBoxNotFoundException and
rethrown. This provides a better, verbose error message to the user and avoids a
FileNotFoundException showing up as an internal FIRRTL error.
This adds tests that the expected exception is thrown for both
BlackBoxResourceAnno and BlackBoxResourceAnno.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
