com.indexdata.serviceproxy.exception
Class StandardServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.indexdata.serviceproxy.exception.ServiceException
              extended by com.indexdata.serviceproxy.exception.StandardServiceException
All Implemented Interfaces:
Serializable

public class StandardServiceException
extends ServiceException

Represents a standard runtime error that may occur during plugin execution. Should be used in most cases.

Author:
jakub
See Also:
Serialized Form

Constructor Summary
StandardServiceException(String msg, ErrorCode code)
           
StandardServiceException(String msg, Throwable cause, ErrorCode code)
           
StandardServiceException(Throwable cause, ErrorCode code)
           
 
Method Summary
 String getAddInfo()
           
 int getErrorCode()
           
 String getErrorMsg()
           
 
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

StandardServiceException

public StandardServiceException(String msg,
                                ErrorCode code)

StandardServiceException

public StandardServiceException(Throwable cause,
                                ErrorCode code)

StandardServiceException

public StandardServiceException(String msg,
                                Throwable cause,
                                ErrorCode code)
Method Detail

getErrorCode

public int getErrorCode()
Specified by:
getErrorCode in class ServiceException

getErrorMsg

public String getErrorMsg()
Specified by:
getErrorMsg in class ServiceException

getAddInfo

public String getAddInfo()
Specified by:
getAddInfo in class ServiceException


Copyright © 2008-2013 Index Data. All Rights Reserved.