org.apache.oozie.service
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.oozie.XException
org.apache.oozie.service.ServiceException
- All Implemented Interfaces:
- Serializable
public class ServiceException
- extends XException
Exception thrown by Services
and Service
during initialization.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ServiceException
public ServiceException(XException cause)
- Create an service exception from a XException.
- Parameters:
cause
- the XException cause.
ServiceException
public ServiceException(ErrorCode errorCode,
Object... params)
- Create a service exception.
- Parameters:
errorCode
- error code.params
- parameters for the error code message template.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.