diff options
author | Matthew Johnson <mjj29@hecate.trinhall.cam.ac.uk> | 2006-12-30 14:20:39 +0000 |
---|---|---|
committer | Matthew Johnson <mjj29@hecate.trinhall.cam.ac.uk> | 2006-12-30 14:20:39 +0000 |
commit | d233ef6fac8766a4386674573fd0afa92924a4bd (patch) | |
tree | c8eb8f65a34c3254ace30e0593958fc3120b15f9 | |
parent | 86b6f0007b0e52bd25d9b73e21486620e085900d (diff) |
add missing filesnative-wire
-rw-r--r-- | org/freedesktop/dbus/exceptions/MarshallingException.java | 20 | ||||
-rw-r--r-- | org/freedesktop/dbus/exceptions/UnknownTypeCodeException.java | 22 |
2 files changed, 42 insertions, 0 deletions
diff --git a/org/freedesktop/dbus/exceptions/MarshallingException.java b/org/freedesktop/dbus/exceptions/MarshallingException.java new file mode 100644 index 0000000..384fb2e --- /dev/null +++ b/org/freedesktop/dbus/exceptions/MarshallingException.java @@ -0,0 +1,20 @@ +/* + D-Bus Java Implementation + Copyright (c) 2005-2006 Matthew Johnson + + This program is free software; you can redistribute it and/or modify it + under the terms of either the GNU General Public License Version 2 or the + Academic Free Licence Version 2.1. + + Full licence texts are included in the COPYING file with this program. +*/ +package org.freedesktop.dbus.exceptions; + +@SuppressWarnings("serial") +public class MarshallingException extends DBusException implements NonFatalException +{ + public MarshallingException(String message) + { + super(message); + } +} diff --git a/org/freedesktop/dbus/exceptions/UnknownTypeCodeException.java b/org/freedesktop/dbus/exceptions/UnknownTypeCodeException.java new file mode 100644 index 0000000..385df44 --- /dev/null +++ b/org/freedesktop/dbus/exceptions/UnknownTypeCodeException.java @@ -0,0 +1,22 @@ +/* + D-Bus Java Implementation + Copyright (c) 2005-2006 Matthew Johnson + + This program is free software; you can redistribute it and/or modify it + under the terms of either the GNU General Public License Version 2 or the + Academic Free Licence Version 2.1. + + Full licence texts are included in the COPYING file with this program. +*/ +package org.freedesktop.dbus.exceptions; + +import java.io.IOException; + +@SuppressWarnings("serial") +public class UnknownTypeCodeException extends DBusException implements NonFatalException +{ + public UnknownTypeCodeException(byte code) + { + super("Code "+code+" is not a valid D-Bus type."); + } +} |