summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@hecate.trinhall.cam.ac.uk>2006-12-30 14:20:39 +0000
committerMatthew Johnson <mjj29@hecate.trinhall.cam.ac.uk>2006-12-30 14:20:39 +0000
commitd233ef6fac8766a4386674573fd0afa92924a4bd (patch)
treec8eb8f65a34c3254ace30e0593958fc3120b15f9
parent86b6f0007b0e52bd25d9b73e21486620e085900d (diff)
add missing filesnative-wire
-rw-r--r--org/freedesktop/dbus/exceptions/MarshallingException.java20
-rw-r--r--org/freedesktop/dbus/exceptions/UnknownTypeCodeException.java22
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.");
+ }
+}