Class RestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.gentics.contentnode.rest.client.exceptions.RestException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthRequiredRestException, FailureRestException, InvalidDataRestException, MaintenanceModeRestException, NotFoundRestException, PermissionRestException

public class RestException extends Exception
Base class for all possible exceptions that might be thrown for REST API actions
See Also:
  • Constructor Details

    • RestException

      public RestException(String message)
      Create an instance
      Parameters:
      message - message
    • RestException

      public RestException(String message, Throwable cause)
      Create an instance
      Parameters:
      message - message
      cause - cause