KIE Remote Services :: Services 6.2.0.CR4

org.kie.remote.services.rest.exception
Class KieRemoteRestOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kie.remote.services.rest.exception.KieRemoteRestOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DeploymentNotFoundException

public class KieRemoteRestOperationException
extends RuntimeException

See Also:
Serialized Form

Nested Class Summary
static class KieRemoteRestOperationException.Status
           
 
Field Summary
protected  Integer status
           
 
Constructor Summary
  KieRemoteRestOperationException(String s)
           
protected KieRemoteRestOperationException(String s, KieRemoteRestOperationException.Status status)
           
  KieRemoteRestOperationException(String s, Throwable throwable)
           
protected KieRemoteRestOperationException(String s, Throwable throwable, KieRemoteRestOperationException.Status status)
           
 
Method Summary
static KieRemoteRestOperationException badRequest(String msg)
           
static KieRemoteRestOperationException conflict(String msg, Exception e)
           
static KieRemoteRestOperationException forbidden(String msg)
           
 int getStatus()
           
static KieRemoteRestOperationException internalServerError(String msg)
           
static KieRemoteRestOperationException internalServerError(String msg, Exception e)
           
static KieRemoteRestOperationException notFound(String msg)
           
static KieRemoteRestOperationException notFound(String msg, Exception e)
           
 
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
 

Field Detail

status

protected Integer status
Constructor Detail

KieRemoteRestOperationException

public KieRemoteRestOperationException(String s)

KieRemoteRestOperationException

protected KieRemoteRestOperationException(String s,
                                          KieRemoteRestOperationException.Status status)

KieRemoteRestOperationException

public KieRemoteRestOperationException(String s,
                                       Throwable throwable)

KieRemoteRestOperationException

protected KieRemoteRestOperationException(String s,
                                          Throwable throwable,
                                          KieRemoteRestOperationException.Status status)
Method Detail

getStatus

public int getStatus()

badRequest

public static KieRemoteRestOperationException badRequest(String msg)

forbidden

public static KieRemoteRestOperationException forbidden(String msg)

conflict

public static KieRemoteRestOperationException conflict(String msg,
                                                       Exception e)

notFound

public static KieRemoteRestOperationException notFound(String msg)

notFound

public static KieRemoteRestOperationException notFound(String msg,
                                                       Exception e)

internalServerError

public static KieRemoteRestOperationException internalServerError(String msg)

internalServerError

public static KieRemoteRestOperationException internalServerError(String msg,
                                                                  Exception e)

KIE Remote Services :: Services 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.