Package org.camunda.bpm.engine.rest.dto
Class ExceptionDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.ExceptionDto
-
- Direct Known Subclasses:
AuthorizationExceptionDto
,MigratingProcessInstanceValidationExceptionDto
,MigrationPlanValidationExceptionDto
,ParseExceptionDto
public class ExceptionDto extends Object
- Author:
- nico.rehwaldt
-
-
Constructor Summary
Constructors Constructor Description ExceptionDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExceptionDto
fromException(Exception e)
static ExceptionDto
fromException(Throwable e)
Integer
getCode()
String
getMessage()
String
getType()
void
setCode(Integer code)
void
setMessage(String message)
void
setType(String type)
-
-
-
Method Detail
-
getType
public String getType()
-
getMessage
public String getMessage()
-
fromException
public static ExceptionDto fromException(Exception e)
-
fromException
public static ExceptionDto fromException(Throwable e)
-
setType
public void setType(String type)
-
setMessage
public void setMessage(String message)
-
getCode
public Integer getCode()
-
setCode
public void setCode(Integer code)
-
-