/* * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */ package org.mule.runtime.core.api.security; import org.mule.runtime.core.api.Event; import org.mule.runtime.api.i18n.I18nMessage; /** * <code>CredentialsNotSetException</code> is thrown when user credentials cannot be obtained from the current message */ public class CredentialsNotSetException extends UnauthorisedException { /** * Serial version */ private static final long serialVersionUID = -6271648179641734580L; public CredentialsNotSetException(I18nMessage message) { super(message); } public CredentialsNotSetException(I18nMessage message, Throwable cause) { super(message, cause); } public CredentialsNotSetException(Event event, SecurityContext context, SecurityFilter filter) { super(context, filter.getClass().getName(), event.getContext().getOriginatingConnectorName()); } }