org.camunda.bpm.cycle.web.dto
Class WebExceptionDTO
java.lang.Object
org.camunda.bpm.cycle.web.dto.WebExceptionDTO
public class WebExceptionDTO
- extends Object
Data object for exceptions being raised by an application
- Author:
- nico.rehwaldt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebExceptionDTO
public WebExceptionDTO()
WebExceptionDTO
public WebExceptionDTO(javax.ws.rs.core.Response.Status status,
String message,
Throwable cause)
getMessage
public String getMessage()
getCause
public String getCause()
getStacktrace
public String getStacktrace()
getStatus
public javax.ws.rs.core.Response.Status getStatus()
wrap
public static WebExceptionDTO wrap(WebException exception)
wrap
public static WebExceptionDTO wrap(Exception exception,
javax.ws.rs.core.Response.Status status)
Copyright © 2014 camunda services GmbH. All rights reserved.