org.duracloud.services.common.error
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.duracloud.services.common.error.ServiceException
All Implemented Interfaces:
java.io.Serializable

public class ServiceException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
ServiceException(java.lang.String message)
           
ServiceException(java.lang.String message, int code)
           
ServiceException(java.lang.String message, java.lang.Throwable throwable)
           
ServiceException(java.lang.String message, java.lang.Throwable throwable, int code)
           
ServiceException(java.lang.Throwable throwable)
           
ServiceException(java.lang.Throwable throwable, int code)
           
 
Method Summary
 int getCode()
           
 
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 message)

ServiceException

public ServiceException(java.lang.String message,
                        int code)

ServiceException

public ServiceException(java.lang.String message,
                        java.lang.Throwable throwable)

ServiceException

public ServiceException(java.lang.String message,
                        java.lang.Throwable throwable,
                        int code)

ServiceException

public ServiceException(java.lang.Throwable throwable)

ServiceException

public ServiceException(java.lang.Throwable throwable,
                        int code)
Method Detail

getCode

public int getCode()


Copyright © 2009-2010 DuraSpace. All Rights Reserved.