Class ApiMisusageException

java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.web.exceptions.ApiMisusageException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
VerifierApiMisusageException

public class ApiMisusageException
extends Exception
See Also:
Serialized Form
  • Constructor Details

    • ApiMisusageException

      public ApiMisusageException​(String message, int httpStatus)
    • ApiMisusageException

      public ApiMisusageException​(String message, int httpStatus, Throwable cause)
    • ApiMisusageException

      public ApiMisusageException​(String messageTemplate, String param, int httpStatus)
    • ApiMisusageException

      public ApiMisusageException​(String messageTemplate, String param, int httpStatus, Throwable cause)
    • ApiMisusageException

      public ApiMisusageException​(Throwable cause, int httpStatus)
  • Method Details

    • getHttpStatus

      public int getHttpStatus()
    • setHttpStatus

      public void setHttpStatus​(int httpStatus)
    • missingMandatoryParam

      public static ApiMisusageException missingMandatoryParam​(String param)
    • invalidParam

      public static ApiMisusageException invalidParam​(String param)