public class ViewControllerException extends Exception
Constructor and Description |
---|
ViewControllerException(int errorCode,
String message) |
ViewControllerException(int statusCode,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ViewControllerException(int errorCode, String message)
errorCode
- HTTP error code describing the type of error to send to the clientmessage
- The message to pass alongside the error code.Copyright © 2019 Communote team. All rights reserved.