Java tutorial
/* * Copyright(C) 2014 * NEC Corporation All rights reserved. * * No permission to use, copy, modify and distribute this software * and its documentation for any purpose is granted. * This software is provided under applicable license agreement only. */ package com.nec.harvest.exception; import org.springframework.security.core.AuthenticationException; /** * @author sondn * */ public class OrganizationNotFoundException extends AuthenticationException { private static final long serialVersionUID = 6354474656131839567L; /** * Constructs a new exception with the specified detail message. The cause * is not initialized, and may subsequently be initialized by a call to * {@link #initCause}. * * @param message * The detail message which is saved for later retrieval by the * {@link #getMessage()} method. */ public OrganizationNotFoundException(final String message) { super(message); } /** * Constructs a new exception with the specified detail message and cause. * <p> * Note that the detail message associated with <code>cause</code> is not * automatically incorporated into this exception's detail message. * * @param message * The detail message which is saved for later retrieval by the * {@link #getMessage()} method. * @param cause * The cause which is saved for later retrieval by the * {@link #getCause()} method. A {@code null} value is permitted, * and indicates that the cause is nonexistent or unknown. * @since 1.4 */ public OrganizationNotFoundException(final String message, final Throwable cause) { super(message, cause); } }