org.camunda.bpm.engine.rest.dto
Class ExceptionDto

java.lang.Object
  extended by org.camunda.bpm.engine.rest.dto.ExceptionDto
Direct Known Subclasses:
AuthorizationExceptionDto, MigratingProcessInstanceValidationExceptionDto, MigrationPlanValidationExceptionDto

public class ExceptionDto
extends Object

Author:
nico.rehwaldt

Field Summary
protected  String message
           
protected  String type
           
 
Constructor Summary
ExceptionDto()
           
 
Method Summary
static ExceptionDto fromException(Exception e)
           
 String getMessage()
           
 String getType()
           
 void setMessage(String message)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

message

protected String message
Constructor Detail

ExceptionDto

public ExceptionDto()
Method Detail

getType

public String getType()

getMessage

public String getMessage()

fromException

public static ExceptionDto fromException(Exception e)

setType

public void setType(String type)

setMessage

public void setMessage(String message)


Copyright © 2016 camunda services GmbH. All rights reserved.