public class ExceptionUtil extends Object
| Constructor and Description |
|---|
ExceptionUtil() |
public static String getExceptionStacktrace(ByteArrayEntity byteArray)
public static ByteArrayEntity createJobExceptionByteArray(byte[] byteArray, ResourceType type)
public static ByteArrayEntity createExceptionByteArray(String name, byte[] byteArray, ResourceType type)
name - - type\source of the exceptionbyteArray - - payload of the exceptiontype - - resource type of the exceptionpublic static boolean checkValueTooLongException(ProcessEngineException exception)
public static boolean checkConstraintViolationException(ProcessEngineException exception)
public static List<SQLException> findRelatedSqlExceptions(Throwable exception)
public static boolean checkForeignKeyConstraintViolation(Throwable cause)
public static boolean checkVariableIntegrityViolation(Throwable cause)
public static org.apache.ibatis.executor.BatchExecutorException findBatchExecutorException(Throwable exception)
Copyright © 2013–2020 camunda services GmbH. All rights reserved.