Skip to content

Commit

Permalink
Move ClientSideException back to io.iworkflow.core (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolczynski authored Sep 12, 2024
1 parent 17c32ca commit 10d541b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/java/io/iworkflow/core/Client.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.iworkflow.core;

import io.iworkflow.core.exceptions.ClientSideException;
import io.iworkflow.core.mapper.StateMovementMapper;
import io.iworkflow.core.persistence.PersistenceOptions;
import io.iworkflow.gen.models.ErrorSubStatus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.iworkflow.core.exceptions;
package io.iworkflow.core;

import feign.FeignException;
import io.iworkflow.core.IwfHttpException;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/iworkflow/core/IwfHttpException.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.iworkflow.core;

import feign.FeignException;
import io.iworkflow.core.exceptions.ClientSideException;
import io.iworkflow.core.exceptions.LongPollTimeoutException;
import io.iworkflow.core.exceptions.WorkflowAlreadyStartedException;
import io.iworkflow.core.exceptions.WorkflowNotExistsOrOpenException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.iworkflow.core.exceptions;

import io.iworkflow.core.ClientSideException;

public class LongPollTimeoutException extends ClientSideException {
public LongPollTimeoutException(
final ClientSideException exception) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.iworkflow.core.exceptions;

import io.iworkflow.core.ClientSideException;

public class WorkflowAlreadyStartedException extends ClientSideException {
public WorkflowAlreadyStartedException(
final ClientSideException exception) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.iworkflow.core.exceptions;

import io.iworkflow.core.ClientSideException;

public class WorkflowNotExistsOrOpenException extends ClientSideException {
public WorkflowNotExistsOrOpenException(
final ClientSideException exception) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/iworkflow/integ/RpcTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.google.common.collect.ImmutableMap;
import io.iworkflow.core.Client;
import io.iworkflow.core.ClientOptions;
import io.iworkflow.core.exceptions.ClientSideException;
import io.iworkflow.core.ClientSideException;
import io.iworkflow.core.ImmutableStopWorkflowOptions;
import io.iworkflow.core.ImmutableWorkflowOptions;
import io.iworkflow.gen.models.*;
Expand Down

0 comments on commit 10d541b

Please sign in to comment.