|
|
|
@ -15,6 +15,7 @@ import com.fanruan.workplace.http.RepositoryManager;
|
|
|
|
|
import com.fanruan.workplace.http.WorkspaceHeartBeatShell; |
|
|
|
|
import com.fanruan.workplace.http.exception.DefaultRemoteExceptionHandler; |
|
|
|
|
import com.fanruan.workplace.http.exception.RemoteExceptionConvert; |
|
|
|
|
import com.fanruan.workplace.http.exception.RemoteServiceErrorExceptionHandler; |
|
|
|
|
import com.fanruan.workplace.network.RemoteNetworkRepository; |
|
|
|
|
import com.fanruan.workplace.standard.ServerInfo; |
|
|
|
|
import com.fanruan.workplace.standard.ServerInfoOperator; |
|
|
|
@ -162,6 +163,7 @@ public class DesignWorkContextComponent {
|
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.LOGIN_LOCK, new RemoteDesignLoginLockHandler()); |
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.TPL_HAS_BEAN_UNLOCK, new UnLockedHandler()); |
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.DRIVER_NOT_EXIST, new RemoteDriverUnExistHandler()); |
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.SERVICE_ERROR, new RemoteServiceErrorExceptionHandler()); |
|
|
|
|
DefaultRemoteExceptionHandler.getInstance().registerMatchMsg(ERROR_CODE, new RemoteProcedureErrorHandler()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|