summaryrefslogtreecommitdiffstats
path: root/petascope/src/petascope/wcs/server/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'petascope/src/petascope/wcs/server/exceptions')
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/ActionNotSupportedException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/BadResponseHandlerException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InputOutputException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InternalComponentException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InternalSqlException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InvalidParameterValueException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InvalidPropertyValueException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InvalidRequestException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InvalidServiceConfigurationException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/InvalidTemporalMetadataException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/MaliciousQueryException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/MissingParameterValueException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/MultiBandImagesNotSupportedException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/NoApplicableCodeException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/NodeParsingNotImplementedException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/NotEnoughStorageException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/RasdamanRequestFailedException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/RasdamanUnavailableException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/ServletConnectionException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/UnsupportedCombinationException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/WCSException.java149
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/WcsRuntimeException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/XmlNotValidException.java42
-rw-r--r--petascope/src/petascope/wcs/server/exceptions/XmlStructuresException.java42
24 files changed, 0 insertions, 1115 deletions
diff --git a/petascope/src/petascope/wcs/server/exceptions/ActionNotSupportedException.java b/petascope/src/petascope/wcs/server/exceptions/ActionNotSupportedException.java
deleted file mode 100644
index 3211bb6..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/ActionNotSupportedException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class ActionNotSupportedException extends WCSException
-{
- private final static String error = "ActionNotSupported";
-
- public ActionNotSupportedException(String message)
- {
- super(error, message);
- }
-
- public ActionNotSupportedException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/BadResponseHandlerException.java b/petascope/src/petascope/wcs/server/exceptions/BadResponseHandlerException.java
deleted file mode 100644
index 5fa186c..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/BadResponseHandlerException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class BadResponseHandlerException extends WCSException
-{
- private static final String error = "BadResponseHandler";
-
- public BadResponseHandlerException(String message)
- {
- super(error, message);
- }
-
- public BadResponseHandlerException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InputOutputException.java b/petascope/src/petascope/wcs/server/exceptions/InputOutputException.java
deleted file mode 100644
index f3a8667..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InputOutputException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InputOutputException extends WCSException
-{
- private static final String error = "InputOutputError";
-
- public InputOutputException(String message)
- {
- super(error, message);
- }
-
- public InputOutputException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InternalComponentException.java b/petascope/src/petascope/wcs/server/exceptions/InternalComponentException.java
deleted file mode 100644
index 367ad3e..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InternalComponentException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InternalComponentException extends WCSException
-{
- private static final String error = "InternalComponentError";
-
- public InternalComponentException(String message)
- {
- super(error, message);
- }
-
- public InternalComponentException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InternalSqlException.java b/petascope/src/petascope/wcs/server/exceptions/InternalSqlException.java
deleted file mode 100644
index d415864..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InternalSqlException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InternalSqlException extends WCSException
-{
- private static final String error = "InternalSQLError";
-
- public InternalSqlException(String message)
- {
- super(error, message);
- }
-
- public InternalSqlException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InvalidParameterValueException.java b/petascope/src/petascope/wcs/server/exceptions/InvalidParameterValueException.java
deleted file mode 100644
index 5f03a72..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InvalidParameterValueException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InvalidParameterValueException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public InvalidParameterValueException(String message)
- {
- super(error, message);
- }
-
- public InvalidParameterValueException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InvalidPropertyValueException.java b/petascope/src/petascope/wcs/server/exceptions/InvalidPropertyValueException.java
deleted file mode 100644
index 9c036b3..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InvalidPropertyValueException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InvalidPropertyValueException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public InvalidPropertyValueException(String message)
- {
- super(error, message);
- }
-
- public InvalidPropertyValueException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InvalidRequestException.java b/petascope/src/petascope/wcs/server/exceptions/InvalidRequestException.java
deleted file mode 100644
index e357684..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InvalidRequestException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InvalidRequestException extends WCSException
-{
- private static final String error = "InvalidRequest";
-
- public InvalidRequestException(String message)
- {
- super(error, message);
- }
-
- public InvalidRequestException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InvalidServiceConfigurationException.java b/petascope/src/petascope/wcs/server/exceptions/InvalidServiceConfigurationException.java
deleted file mode 100644
index 4f84673..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InvalidServiceConfigurationException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InvalidServiceConfigurationException extends WCSException
-{
- private final static String error = "ActionNotSupported";
-
- public InvalidServiceConfigurationException(String message)
- {
- super(error, message);
- }
-
- public InvalidServiceConfigurationException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/InvalidTemporalMetadataException.java b/petascope/src/petascope/wcs/server/exceptions/InvalidTemporalMetadataException.java
deleted file mode 100644
index 1ad11de..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/InvalidTemporalMetadataException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class InvalidTemporalMetadataException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public InvalidTemporalMetadataException(String message)
- {
- super(error, message);
- }
-
- public InvalidTemporalMetadataException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/MaliciousQueryException.java b/petascope/src/petascope/wcs/server/exceptions/MaliciousQueryException.java
deleted file mode 100644
index bc00baa..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/MaliciousQueryException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class MaliciousQueryException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public MaliciousQueryException(String message)
- {
- super(error, message);
- }
-
- public MaliciousQueryException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/MissingParameterValueException.java b/petascope/src/petascope/wcs/server/exceptions/MissingParameterValueException.java
deleted file mode 100644
index deb4390..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/MissingParameterValueException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class MissingParameterValueException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public MissingParameterValueException(String message)
- {
- super(error, message);
- }
-
- public MissingParameterValueException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/MultiBandImagesNotSupportedException.java b/petascope/src/petascope/wcs/server/exceptions/MultiBandImagesNotSupportedException.java
deleted file mode 100644
index 63a9919..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/MultiBandImagesNotSupportedException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class MultiBandImagesNotSupportedException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public MultiBandImagesNotSupportedException(String message)
- {
- super(error, message);
- }
-
- public MultiBandImagesNotSupportedException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/NoApplicableCodeException.java b/petascope/src/petascope/wcs/server/exceptions/NoApplicableCodeException.java
deleted file mode 100644
index 0568ece..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/NoApplicableCodeException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class NoApplicableCodeException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public NoApplicableCodeException(String message)
- {
- super(error, message);
- }
-
- public NoApplicableCodeException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/NodeParsingNotImplementedException.java b/petascope/src/petascope/wcs/server/exceptions/NodeParsingNotImplementedException.java
deleted file mode 100644
index d1e278d..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/NodeParsingNotImplementedException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class NodeParsingNotImplementedException extends WCSException
-{
- private static final String error = "NodeParsingNotImplemented";
-
- public NodeParsingNotImplementedException(String message)
- {
- super(error, message);
- }
-
- public NodeParsingNotImplementedException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/NotEnoughStorageException.java b/petascope/src/petascope/wcs/server/exceptions/NotEnoughStorageException.java
deleted file mode 100644
index f1a668a..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/NotEnoughStorageException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class NotEnoughStorageException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public NotEnoughStorageException(String message)
- {
- super(error, message);
- }
-
- public NotEnoughStorageException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/RasdamanRequestFailedException.java b/petascope/src/petascope/wcs/server/exceptions/RasdamanRequestFailedException.java
deleted file mode 100644
index 0960247..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/RasdamanRequestFailedException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class RasdamanRequestFailedException extends WCSException
-{
- private final static String error = "InvalidParameterValue";
-
- public RasdamanRequestFailedException(String message)
- {
- super(error, message);
- }
-
- public RasdamanRequestFailedException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/RasdamanUnavailableException.java b/petascope/src/petascope/wcs/server/exceptions/RasdamanUnavailableException.java
deleted file mode 100644
index db700c6..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/RasdamanUnavailableException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class RasdamanUnavailableException extends WCSException
-{
- private final static String error = "InvalidParameterValue";
-
- public RasdamanUnavailableException(String message)
- {
- super(error, message);
- }
-
- public RasdamanUnavailableException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/ServletConnectionException.java b/petascope/src/petascope/wcs/server/exceptions/ServletConnectionException.java
deleted file mode 100644
index d458cd2..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/ServletConnectionException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class ServletConnectionException extends WCSException
-{
- private static final String error = "InvalidParameterValue";
-
- public ServletConnectionException(String message)
- {
- super(error, message);
- }
-
- public ServletConnectionException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/UnsupportedCombinationException.java b/petascope/src/petascope/wcs/server/exceptions/UnsupportedCombinationException.java
deleted file mode 100644
index d9c388e..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/UnsupportedCombinationException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class UnsupportedCombinationException extends WCSException
-{
- private final static String error = "UnsupportedCombination";
-
- public UnsupportedCombinationException(String message)
- {
- super(error, message);
- }
-
- public UnsupportedCombinationException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/WCSException.java b/petascope/src/petascope/wcs/server/exceptions/WCSException.java
deleted file mode 100644
index 14e957a..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/WCSException.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-
-
-package petascope.wcs.server.exceptions;
-
-//~--- non-JDK imports --------------------------------------------------------
-
-import net.opengis.ows.v_1_0_0.ExceptionReport;
-import net.opengis.ows.v_1_0_0.ExceptionType;
-
-//~--- JDK imports ------------------------------------------------------------
-
-import java.util.Arrays;
-import petascope.ConfigManager;
-
-/**
- * Private Exception superclass for the WCS server.
- * This class can return an error report, than can be marshalled into a
- * WCS-standard compliant XML structure describing the error that has happened.
- *
- * @author Andrei Aiordachioaie
- */
-public class WCSException extends Exception
-{
-// private static Logger LOG = LoggerFactory.getLogger(WCSException.class);
-
- /*
- private String[] errorCodes =
- {
- "MissingParameterValue", "InvalidParameterValue", "NoApplicableCode",
- "UnsupportedCombination", "NotEnoughStorage",
- "MaliciousQuery", "ActionNotSupported", "XmlStructuresError",
- "BadResponseHandler", "MultiBandImagesNotSupported", "RasdamanUnavailable",
- "ServletConnectionError", "XmlInputNotValid", "InvalidPropertyValue",
- "InternalWcpsError", "InternalSqlError", "RasdamanRequestFailed",
- "NodeParsingNotImplemented", "IOConnectionError", "InvalidTemporalMetadata",
- "InvalidRequestString"
- };
- */
- private ExceptionType item;
- private ExceptionReport report;
- private String errorCode;
- private String errorDetail = "";
-
- /**
- * Default (minimal) constructor
- * @param error Error Code
- * @param detail Detailed message about the error
- */
- protected WCSException(String error, String detail)
- {
- super();
- errorCode = error;
- errorDetail = detail;
-
- createReport();
- }
-
- /**
- * Convenience Constructor
- * @param error Error Code
- * @param detail Detailed message about the error
- * @param e The cause of the current exception.
- */
- protected WCSException(String error, String detail, Exception e)
- {
- super(e);
- errorCode = error;
- errorDetail = detail;
- createReport();
- }
-
- private void createReport()
- {
- report = new ExceptionReport();
- report.setLanguage(ConfigManager.WCST_LANGUAGE);
- report.setVersion(ConfigManager.WCST_VERSION);
-
- item = new ExceptionType();
- item.setExceptionCode(errorCode);
- item.setLocator(errorDetail);
- report.getException().add(item);
- }
-
- /** Return the error code.
- *
- * @return
- */
- public String getErrorCode()
- {
- return errorCode;
- }
-
- /** Return the detailed error message.
- *
- * @return
- */
- public String getErrorDetail()
- {
- return errorDetail;
- }
-
- /**
- * Retrieves a data structure that can be later marshalled into a XML
- * "ExceptionReport" document.
- * @return ExceptionReport object
- */
- public ExceptionReport getReport()
- {
- return report;
- }
-
- /**
- * Adds text to this exception's detail message.
- * @param msg
- */
- public void appendErrorDetail(String msg)
- {
- this.errorDetail += msg;
- createReport();
- }
-
- @Override
- public String getMessage()
- {
- return this.errorDetail;
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/WcsRuntimeException.java b/petascope/src/petascope/wcs/server/exceptions/WcsRuntimeException.java
deleted file mode 100644
index 4f37277..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/WcsRuntimeException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class WcsRuntimeException extends WCSException
-{
- private static final String error = "RuntimeException";
-
- public WcsRuntimeException(String message)
- {
- super(error, message);
- }
-
- public WcsRuntimeException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/XmlNotValidException.java b/petascope/src/petascope/wcs/server/exceptions/XmlNotValidException.java
deleted file mode 100644
index ba49b3a..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/XmlNotValidException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class XmlNotValidException extends WCSException
-{
- private static final String error = "XmlDocumentNotValid";
-
- public XmlNotValidException(String message)
- {
- super(error, message);
- }
-
- public XmlNotValidException(String message, Exception e)
- {
- super(error, message, e);
- }
-}
diff --git a/petascope/src/petascope/wcs/server/exceptions/XmlStructuresException.java b/petascope/src/petascope/wcs/server/exceptions/XmlStructuresException.java
deleted file mode 100644
index 6016a51..0000000
--- a/petascope/src/petascope/wcs/server/exceptions/XmlStructuresException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of rasdaman community.
- *
- * Rasdaman community is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Rasdaman community is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
- *
- * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
- rasdaman GmbH.
- *
- * For more information please see <http://www.rasdaman.org>
- * or contact Peter Baumann via <baumann@rasdaman.com>.
- */
-package petascope.wcs.server.exceptions;
-
-/**
- *
- * @author Andrei Aiordachioaie
- */
-public class XmlStructuresException extends WCSException
-{
- private static final String error = "XmlStructuresError";
-
- public XmlStructuresException(String message)
- {
- super(error, message);
- }
-
- public XmlStructuresException(String message, Exception e)
- {
- super(error, message, e);
- }
-}