org.freedesktop.dbus.exceptions
Class DBusExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.freedesktop.dbus.exceptions.DBusExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DBus.Error.AccessDenied, DBus.Error.MatchRuleInvalid, DBus.Error.NoReply, DBus.Error.ServiceUnknown, DBus.Error.UnknownMethod, DBus.Error.UnknownObject, InternalMessageException, NotConnected

public class DBusExecutionException
extends RuntimeException

An exception while running a remote method within DBus.

See Also:
Serialized Form

Constructor Summary
DBusExecutionException(String message)
          Create an exception with the specified message
 
Method Summary
 String getType()
          Get the DBus type of this exception.
 void setType(String type)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBusExecutionException

public DBusExecutionException(String message)
Create an exception with the specified message

Method Detail

setType

public void setType(String type)

getType

public String getType()
Get the DBus type of this exception. Use if this was an exception we don't have a class file for.