net.sf.mmm.util.value.api.ValueException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-util-value Show documentation
Show all versions of mmm-util-value Show documentation
This project provides common utitlities to for converting values.
The newest version!
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.value.api;
import net.sf.mmm.util.exception.api.NlsRuntimeException;
import net.sf.mmm.util.nls.api.NlsMessage;
/**
* This exception is thrown if a something goes wrong about values. This can be an invalid "casting", a parse
* error, etc.
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
* @since 1.0.0
* @deprecated use {@link net.sf.mmm.util.exception.api.ValueException}
*/
@Deprecated
public abstract class ValueException extends NlsRuntimeException {
private static final long serialVersionUID = 1L;
/**
* The constructor for de-serialization in GWT.
*/
protected ValueException() {
super();
}
/**
* The constructor.
*
* @param message the {@link #getNlsMessage() message} describing the problem briefly.
* @since 3.0.0
*/
public ValueException(NlsMessage message) {
super(message);
}
/**
* The constructor.
*
* @param nested is the {@link #getCause() cause} of this exception.
* @param message the {@link #getNlsMessage() message} describing the problem briefly.
* @since 3.0.0
*/
public ValueException(Throwable nested, NlsMessage message) {
super(nested, message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy