public static ByteArrayEntity createJobExceptionByteArray(byte[] byteArray, ResourceType type) { return createExceptionByteArray("job.exceptionByteArray", byteArray, type); }
public static ByteArrayEntity createJobExceptionByteArray(byte[] byteArray, ResourceType type) { return createExceptionByteArray("job.exceptionByteArray", byteArray, type); }
protected void setErrorDetails(String exception) { EnsureUtil.ensureNotNull("exception", exception); byte[] exceptionBytes = toByteArray(exception); ByteArrayEntity byteArray = getErrorByteArray(); if(byteArray == null) { byteArray = createExceptionByteArray(EXCEPTION_NAME,exceptionBytes, ResourceTypes.RUNTIME); errorDetailsByteArrayId = byteArray.getId(); errorDetailsByteArray = byteArray; } else { byteArray.setBytes(exceptionBytes); } }
public void setErrorDetails(String exception) { EnsureUtil.ensureNotNull("exception", exception); byte[] exceptionBytes = toByteArray(exception); ByteArrayEntity byteArray = createExceptionByteArray(EXCEPTION_NAME, exceptionBytes, ResourceTypes.HISTORY); byteArray.setRootProcessInstanceId(rootProcessInstanceId); byteArray.setRemovalTime(removalTime); errorDetailsByteArrayId = byteArray.getId(); }
public void setErrorDetails(String exception) { EnsureUtil.ensureNotNull("exception", exception); byte[] exceptionBytes = toByteArray(exception); ByteArrayEntity byteArray = createExceptionByteArray(EXCEPTION_NAME, exceptionBytes, ResourceTypes.HISTORY); byteArray.setRootProcessInstanceId(rootProcessInstanceId); byteArray.setRemovalTime(removalTime); errorDetailsByteArrayId = byteArray.getId(); }
protected void setErrorDetails(String exception) { EnsureUtil.ensureNotNull("exception", exception); byte[] exceptionBytes = toByteArray(exception); ByteArrayEntity byteArray = getErrorByteArray(); if(byteArray == null) { byteArray = createExceptionByteArray(EXCEPTION_NAME,exceptionBytes, ResourceTypes.RUNTIME); errorDetailsByteArrayId = byteArray.getId(); errorDetailsByteArray = byteArray; } else { byteArray.setBytes(exceptionBytes); } }
public static ByteArrayEntity createJobExceptionByteArray(byte[] byteArray, ResourceType type) { return createExceptionByteArray("job.exceptionByteArray", byteArray, type); }
public void setErrorDetails(String exception) { EnsureUtil.ensureNotNull("exception", exception); byte[] exceptionBytes = toByteArray(exception); ByteArrayEntity byteArray = createExceptionByteArray(EXCEPTION_NAME, exceptionBytes, ResourceTypes.HISTORY); byteArray.setRootProcessInstanceId(rootProcessInstanceId); byteArray.setRemovalTime(removalTime); errorDetailsByteArrayId = byteArray.getId(); }
protected void setErrorDetails(String exception) { EnsureUtil.ensureNotNull("exception", exception); byte[] exceptionBytes = toByteArray(exception); ByteArrayEntity byteArray = getErrorByteArray(); if(byteArray == null) { byteArray = createExceptionByteArray(EXCEPTION_NAME,exceptionBytes, ResourceTypes.RUNTIME); errorDetailsByteArrayId = byteArray.getId(); errorDetailsByteArray = byteArray; } else { byteArray.setBytes(exceptionBytes); } }