All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.onetwo.common.exception.AuthenticationException Maven / Gradle / Ivy

There is a newer version: 4.7.2
Show newest version
package org.onetwo.common.exception;


@SuppressWarnings("serial")
public class AuthenticationException extends ServiceException {
	public static final String DEFAULT_MESSAGE = "authentication error ";
	protected static final String DEFAULT_CODE = AuthenticErrorCode.BASE_CODE;

	public AuthenticationException() {
		super(DEFAULT_MESSAGE);
	}

	public AuthenticationException(String message) {
		super(message);
	}

	public AuthenticationException(String message, String code) {
		super(message, code);
	}

	public AuthenticationException(Throwable cause) {
		super(cause);
	}

	public AuthenticationException(String message, Throwable cause) {
		super(message, cause);
	}

	protected String getDefaultCode(){
		return DEFAULT_CODE;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy