java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.confluence.plugins.restapi.rvsync.resources.exception.RequestValidationException
All Implemented Interfaces:
Serializable

public class RequestValidationException extends RuntimeException
Exception is thrown by the SpaceFilteringResource in a case is client has sent incorrect request.
Since:
9.2.8
See Also:
  • Field Details

    • SPACE_KEYS_NOT_PRESENT_ERROR

      public static final int SPACE_KEYS_NOT_PRESENT_ERROR
      See Also:
    • SPACE_KEY_IS_NULL_ERROR

      public static final int SPACE_KEY_IS_NULL_ERROR
      See Also:
    • SPACE_KEY_IS_TOO_LONG_ERROR

      public static final int SPACE_KEY_IS_TOO_LONG_ERROR
      See Also:
    • SPACE_IDS_NOT_PRESENT_ERROR

      public static final int SPACE_IDS_NOT_PRESENT_ERROR
      See Also:
    • SOURCE_IS_NOT_PRESENT_ERROR

      public static final int SOURCE_IS_NOT_PRESENT_ERROR
      See Also:
  • Constructor Details

    • RequestValidationException

      public RequestValidationException(int errorCode, String message)
  • Method Details

    • getErrorCode

      public int getErrorCode()