UserException.java

package com.tradecloud.authentication;

import com.tradecloud.domain.exception.EnumBusinessException;

/**
 * @author jon
 */
public class UserException extends EnumBusinessException {

    public UserException(UserExceptionType type) {
        super(type);
    }

    @Override
    public Enum<UserExceptionType> getExceptionType() {
        return cast(UserExceptionType.class, exceptionType);
    }
}