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 java.lang.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(java.lang.Exception e)
static ExceptionDto
fromException(java.lang.Throwable e)
java.lang.String
getMessage()
java.lang.String
getType()
void
setMessage(java.lang.String message)
void
setType(java.lang.String type)
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getMessage
public java.lang.String getMessage()
-
fromException
public static ExceptionDto fromException(java.lang.Exception e)
-
fromException
public static ExceptionDto fromException(java.lang.Throwable e)
-
setType
public void setType(java.lang.String type)
-
setMessage
public void setMessage(java.lang.String message)
-
-