com.xebialabs.deployit.booter.remote.resteasy
Class DeployitClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.xebialabs.deployit.booter.remote.resteasy.DeployitClientException
All Implemented Interfaces:
java.io.Serializable

public class DeployitClientException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
DeployitClientException(java.lang.Object entity, int status)
           
DeployitClientException(java.lang.String reason, int status)
           
 
Method Summary
<T> T
getEntity()
           
 boolean hasEntity()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployitClientException

public DeployitClientException(java.lang.Object entity,
                               int status)

DeployitClientException

public DeployitClientException(java.lang.String reason,
                               int status)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

hasEntity

public boolean hasEntity()

getEntity

public <T> T getEntity()