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

org.mule.registry.RegistryException Maven / Gradle / Ivy

The newest version!
/*
 * $Id: RegistryException.java 7976 2007-08-21 14:26:13Z dirk.olmes $
 * --------------------------------------------------------------------------------------
 * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.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.registry;

import org.mule.config.i18n.Message;
import org.mule.config.i18n.MessageFactory;
import org.mule.umo.UMOException;

/**
 * Base Registry exception thrown when reading or writing to the registry
 * 
 * @author Ross Mason
 * @version $Revision: 7976 $
 */
public class RegistryException extends UMOException
{
    /**
     * Serial version
     */
    private static final long serialVersionUID = 7362073316934744362L;

    public RegistryException(Message message)
    {
        super(message);
    }

    public RegistryException(Message message, Throwable throwable)
    {
        super(message, throwable);
    }

    public RegistryException(Throwable throwable)
    {
        super(throwable);
    }

    // TODO remove
    public RegistryException(String message)
    {
        super(MessageFactory.createStaticMessage(message));
    }

    public RegistryException(String message, Throwable throwable)
    {
        super(MessageFactory.createStaticMessage(message), throwable);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy