org.camunda.bpm.engine.impl.util
Class ExceptionUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.ExceptionUtil
public class ExceptionUtil
- extends Object
- Author:
- Roman Smirnov, Askar Akhmerov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionUtil
public ExceptionUtil()
getExceptionStacktrace
public static String getExceptionStacktrace(Throwable exception)
getExceptionStacktrace
public static String getExceptionStacktrace(ByteArrayEntity byteArray)
createJobExceptionByteArray
public static ByteArrayEntity createJobExceptionByteArray(byte[] byteArray)
createExceptionByteArray
public static ByteArrayEntity createExceptionByteArray(String name,
byte[] byteArray)
- create ByteArrayEntity with specified name and payload and make sure it's
persisted
used in Jobs and ExternalTasks
- Parameters:
name - - type\source of the exceptionbyteArray - - payload of the exception
- Returns:
- persisted entity
Copyright © 2016 camunda services GmbH. All rights reserved.