org.astrogrid.samp.hub
Class HubServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.astrogrid.samp.hub.HubServiceException
All Implemented Interfaces:
Serializable

public class HubServiceException
extends Exception

Exception thrown when some error occurs in a hub service implementation. These exceptions will be handled at the server end, and should never be seen by users of the client toolkit. Clients may however see stacktraces corresponding to HubServiceExceptions passed back via the SAMP transport protocol.

Since:
24 Jul 2008
Author:
Mark Taylor
See Also:
Serialized Form

Constructor Summary
HubServiceException()
          Constructs an exception with no message.
HubServiceException(String msg)
          Consructs an exception with a given message.
HubServiceException(String msg, Throwable cause)
          Constructs an exception with a given message and cause.
HubServiceException(Throwable cause)
          Constructs an exception with a given cause.
 
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

HubServiceException

public HubServiceException()
Constructs an exception with no message.


HubServiceException

public HubServiceException(String msg)
Consructs an exception with a given message.

Parameters:
msg - message

HubServiceException

public HubServiceException(Throwable cause)
Constructs an exception with a given cause.

Parameters:
cause - cause of this exception

HubServiceException

public HubServiceException(String msg,
                           Throwable cause)
Constructs an exception with a given message and cause.

Parameters:
msg - message
cause - cause of this exception


Copyright © 2008 AstroGrid. All Rights Reserved.