Class UserNotAddedToCircleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- in.cs699.tensors.delagram.profile_search_service.exception.UserNotAddedToCircleException
-
- All Implemented Interfaces:
Serializable
public class UserNotAddedToCircleException extends Exception
A custom exception to express the error that the users couldn't be added in each others' circle.- Author:
- swaroop_nath
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserNotAddedToCircleException()
The default constructorUserNotAddedToCircleException(String message, org.springframework.http.HttpStatus status)
The parametrized constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.HttpStatus
getStatus()
A method to get the HTTP status which represents the type of error-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UserNotAddedToCircleException
public UserNotAddedToCircleException()
The default constructor
-
UserNotAddedToCircleException
public UserNotAddedToCircleException(String message, org.springframework.http.HttpStatus status)
The parametrized constructor- Parameters:
message
- The error messagestatus
- The HTTP Status code representing the form of issue
-
-