org.talika.tarsis.service
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.talika.tarsis.error.SystemException
              extended by org.talika.tarsis.service.ServiceException
All Implemented Interfaces:
java.io.Serializable

public class ServiceException
extends SystemException

Thrown by services to indicate a service error.

Version:
$Revision: 122 $
Author:
Jose M. Palomar
See Also:
Serialized Form

Constructor Summary
ServiceException(java.lang.String msg)
          Constructs a new ServiceException with given message and cause.
ServiceException(java.lang.String msg, java.lang.Throwable rootCause)
          Constructs a new ServiceException with given message and cause.
 
Method Summary
 
Methods inherited from class org.talika.tarsis.error.SystemException
getRootCause
 
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

ServiceException

public ServiceException(java.lang.String msg)
Constructs a new ServiceException with given message and cause.

Parameters:
msg - String text of the exception message.

ServiceException

public ServiceException(java.lang.String msg,
                        java.lang.Throwable rootCause)
Constructs a new ServiceException with given message and cause.

Parameters:
msg - String text of the exception message.
rootCause - Throwable the Throwable exception that caused this exception.


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.