
org.sunbird.common.exception.ResourceNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
platform-common provides the common pojos and utils for sunbird.
The newest version!
package org.sunbird.common.exception;
public class ResourceNotFoundException extends MiddlewareException {
private static final long serialVersionUID = 5170597108192700962L;
private String identifier;
public ResourceNotFoundException(String errCode, String message) {
super(errCode, message);
}
public ResourceNotFoundException(String errCode, String message, String identifier) {
super(errCode, message);
this.identifier = identifier;
}
public ResourceNotFoundException(String errCode, String message, Object... params) {
super(errCode, message, params);
}
public ResourceNotFoundException(String errCode, String message, Throwable root) {
super(errCode, message, root);
}
public ResourceNotFoundException(String errCode, String message, Throwable root, Object... params) {
super(errCode, message, root, params);
}
public ResponseCode getResponseCode() {
return ResponseCode.RESOURCE_NOT_FOUND;
}
/**
* @return the identifier
*/
public String getIdentifier() {
return identifier;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy