X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fexception%2FValidationException.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fexception%2FValidationException.java;h=c8e8e6c0ac28322bc1d5e2a47379855b3696e685;hp=32bc640be269d9a5c42a5144c1442886e5ac2151;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.db/src/org/simantics/db/exception/ValidationException.java b/bundles/org.simantics.db/src/org/simantics/db/exception/ValidationException.java index 32bc640be..c8e8e6c0a 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/exception/ValidationException.java +++ b/bundles/org.simantics.db/src/org/simantics/db/exception/ValidationException.java @@ -1,51 +1,51 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.db.exception; - -/** - * TODO: specification for what these exceptions are and when they are used - * - * @author Antti Villberg - */ -public class ValidationException extends DatabaseException { - - private static final long serialVersionUID = 1647209154838034514L; - - public ValidationException(ValidationException cause) { - super(cause.getMessage(), cause); - } - - public ValidationException(String message, Throwable cause) { - super(message, cause); - } - - public ValidationException(Throwable cause) { - super(cause); - } - - public ValidationException(String message) { - super(message); - } - - public ValidationException(String message, int ... args) { - super(message, args); - } - - public ValidationException(int ... args) { - super(args); - } - - public ValidationException() { - super(); - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.db.exception; + +/** + * TODO: specification for what these exceptions are and when they are used + * + * @author Antti Villberg + */ +public class ValidationException extends DatabaseException { + + private static final long serialVersionUID = 1647209154838034514L; + + public ValidationException(ValidationException cause) { + super(cause.getMessage(), cause); + } + + public ValidationException(String message, Throwable cause) { + super(message, cause); + } + + public ValidationException(Throwable cause) { + super(cause); + } + + public ValidationException(String message) { + super(message); + } + + public ValidationException(String message, int ... args) { + super(message, args); + } + + public ValidationException(int ... args) { + super(args); + } + + public ValidationException() { + super(); + } + +}