Mercurial > projects > dwt-addons
view dwtx/core/commands/SerializationException.d @ 104:04b47443bb01
Reworked the collection uses to make use of a wrapper collection that is compatible to the Java Collections.
These new wrappers now use the tango.util.containers instead of the tango.util.collections.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 07 Aug 2008 15:01:33 +0200 |
parents | 6518c18a01f7 |
children |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2004, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtx.core.commands.SerializationException; import dwtx.core.commands.common.CommandException; import dwt.dwthelper.utils; /** * Signals that an exception occured while serializing a * {@link ParameterizedCommand} to a string or deserializing a String to a * {@link ParameterizedCommand}. * <p> * This class is not intended to be extended by clients. * </p> * * @since 3.2 */ public final class SerializationException : CommandException { /** * Generated serial version UID for this class. */ private static final long serialVersionUID = 2691599674561684949L; /** * Creates a new instance of this class with the specified detail message. * * @param message * the detail message; may be <code>null</code>. */ public this(String message) { super(message); } /** * Creates a new instance of this class with the specified detail message * and cause. * * @param message * the detail message; may be <code>null</code>. * @param cause * the cause; may be <code>null</code>. */ public this(String message, Exception cause) { super(message, cause); } }