Class RestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.software_atelier.simpleflex.rest.RestException
All Implemented Interfaces:
Serializable

public class RestException extends RuntimeException
See Also:
  • Constructor Details

    • RestException

      public RestException(int errorCode, String errorMsg, Object bodyMsg)
  • Method Details

    • getErrorCode

      public int getErrorCode()
    • getErrorMsg

      public String getErrorMsg()
    • getBodyMsg

      public Object getBodyMsg()
    • internalServerError500

      public static RestException internalServerError500(String msg)