Class CustomErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
company.tap.commondependencies.exceptions.CustomErrorException
All Implemented Interfaces:
java.io.Serializable

public class CustomErrorException
extends java.lang.RuntimeException
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    CustomErrorException​(java.lang.String message, Errors errors, org.springframework.http.HttpStatus httpStatus)  
  • Method Summary

    Modifier and Type Method Description
    Errors getErrors()  
    org.springframework.http.HttpStatus getHttpStatus()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CustomErrorException

      public CustomErrorException​(java.lang.String message, Errors errors, org.springframework.http.HttpStatus httpStatus)
  • Method Details

    • getErrors

      public Errors getErrors()
    • getHttpStatus

      public org.springframework.http.HttpStatus getHttpStatus()