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 ExceptionDtofromException(java.lang.Exception e)static ExceptionDtofromException(java.lang.Throwable e)java.lang.StringgetMessage()java.lang.StringgetType()voidsetMessage(java.lang.String message)voidsetType(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)
-
-