Class RemoteOperationFailed

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.technia.dsx.threedspace.RemoteOperationFailed
All Implemented Interfaces:
Serializable

public class RemoteOperationFailed extends RuntimeException
Exception thrown when a remote operation to the 3DEXPERIENCE server fails.

This exception is typically thrown when an HTTP request returns a status code outside the 2xx success range. It contains the HTTP status code and error message from the server response.

Since:
2021-11-11
See Also:
  • Constructor Details

    • RemoteOperationFailed

      public RemoteOperationFailed(com.technia.dsx.common.StatusWithMessage status)
  • Method Details

    • throwUnless2xx

      public static void throwUnless2xx(com.technia.dsx.common.StatusWithMessage status)
    • getCode

      public int getCode()