diff options
| author | Keith Packard <keithp@keithp.com> | 2014-05-28 16:06:14 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-05-28 16:06:14 -0700 |
| commit | 9b3516419981967a1c6ab956269139977ac368ca (patch) | |
| tree | c43a73435d3d98d82e94ffa888094f2ce167c53e /altosuilib/AltosSerialInUseException.java | |
| parent | 02e657e45e217dc483a81f28020cfe65a826e9be (diff) | |
altosui/altosuilib: Shuffle lots more code from altosui into
altosuilib
All of the bluetooth management stuff, and AltosSerial.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosSerialInUseException.java')
| -rw-r--r-- | altosuilib/AltosSerialInUseException.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/altosuilib/AltosSerialInUseException.java b/altosuilib/AltosSerialInUseException.java new file mode 100644 index 00000000..1e8207d1 --- /dev/null +++ b/altosuilib/AltosSerialInUseException.java @@ -0,0 +1,26 @@ +/* + * Copyright © 2010 Keith Packard <keithp@keithp.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +package org.altusmetrum.altosuilib_2; + +public class AltosSerialInUseException extends Exception { + public AltosDevice device; + + public AltosSerialInUseException (AltosDevice in_device) { + device = in_device; + } +} |
