diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-02 22:07:39 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-02 22:07:39 -0700 |
commit | ace5f42b5567cff07a61b622171ac364ea8c165d (patch) | |
tree | e24a246841b40711887387a9aff33e51ddce38ad /altoslib/AltosConfigValues.java | |
parent | 206fbb99d28961ce159e3affdd5c96f5e379a603 (diff) |
altosui: Display error message when parsing pyro channel values fails
Build an exception handling chain to get numeric parse errors
propagated all the way back to the original 'save' command and up into
a dialog window, including the pyro channel, field and value that were
in error.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosConfigValues.java')
-rw-r--r-- | altoslib/AltosConfigValues.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosConfigValues.java b/altoslib/AltosConfigValues.java index 37af2ed5..6ca1f5c6 100644 --- a/altoslib/AltosConfigValues.java +++ b/altoslib/AltosConfigValues.java @@ -71,7 +71,7 @@ public interface AltosConfigValues { public abstract void set_pyros(AltosPyro[] new_pyros); - public abstract AltosPyro[] pyros(); + public abstract AltosPyro[] pyros() throws AltosConfigDataException; public abstract int aprs_interval(); |