Java Code Examples for com.networknt.status.Status#toString()

The following examples show how to use com.networknt.status.Status#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ApiException.java    From light-4j with Apache License 2.0 4 votes vote down vote up
public ApiException(Status status) {
    super(status.toString());
    this.status = status;
}
 
Example 2
Source File: ApiException.java    From light-4j with Apache License 2.0 4 votes vote down vote up
public ApiException(Status status, Throwable cause) {
    super(status.toString(), cause);
    this.status = status;
}
 
Example 3
Source File: FrameworkException.java    From light-4j with Apache License 2.0 4 votes vote down vote up
public FrameworkException(Status status) {
    super(status.toString());
    this.status = status;
}
 
Example 4
Source File: FrameworkException.java    From light-4j with Apache License 2.0 4 votes vote down vote up
public FrameworkException(Status status, Throwable cause) {
    super(status.toString(), cause);
    this.status = status;
}