org.deegree.services.wps
Class DefaultExceptionCustomizer

java.lang.Object
  extended by org.deegree.services.wps.DefaultExceptionCustomizer
All Implemented Interfaces:
ExceptionCustomizer

public class DefaultExceptionCustomizer
extends java.lang.Object
implements ExceptionCustomizer

The ExceptionCustomizerImpl class TODO add class documentation here.

Version:
$Revision: 29322 $, $Date: 2011-01-14 18:09:46 +0100 (Fr, 14. Jan 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Constructor Summary
DefaultExceptionCustomizer(org.deegree.commons.tom.ows.CodeType processId)
          The default exception customizer
 
Method Summary
 OWSException inputEvalutationNotSupported(org.deegree.commons.tom.ows.CodeType inputParameterId, org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp, java.lang.String explanation)
           
 OWSException inputInvalidBBoxCoordinates(org.deegree.commons.tom.ows.CodeType inputParameterId, java.lang.String[] suppliedCoordinates)
           
 OWSException inputInvalidCombination(org.deegree.commons.tom.ows.CodeType inputParameterId, java.util.List<org.deegree.commons.utils.Pair<java.lang.String,java.lang.String>> conflictingKVPs)
           
 OWSException inputInvalidDatatype(org.deegree.commons.tom.ows.CodeType parameterId, java.lang.String foundDatatype, java.lang.String definedDataType)
           
 OWSException inputInvalidOccurence(org.deegree.commons.tom.ows.CodeType inputParameterId, int minOccurs, int maxOccurs, int actualOccurs)
           
 OWSException inputInvalidParameter(org.deegree.commons.tom.ows.CodeType inputParameterId, org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp)
           
 OWSException inputMissingParameter(org.deegree.commons.tom.ows.CodeType inputParameterId, java.lang.String parameter)
           
 OWSException inputMissingParameters(org.deegree.commons.tom.ows.CodeType inputParameterId, java.lang.String... parameters)
           
 OWSException inputMutualExclusive(org.deegree.commons.tom.ows.CodeType identifier, java.lang.String parameter, java.lang.String excludes)
           
 OWSException inputNoSuchParameter(org.deegree.commons.tom.ows.CodeType identifier)
           
 OWSException invalidAttributedParameter(org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp)
           
 OWSException missingParameter(java.lang.String parameter)
           
 OWSException missingParameters(java.lang.String... parameters)
           
 OWSException mutualExclusive(java.lang.String parameter, java.lang.String excludes)
           
 OWSException outputInvalidCombination(org.deegree.commons.tom.ows.CodeType outputParameterId, java.util.List<org.deegree.commons.utils.Pair<java.lang.String,java.lang.String>> conflictingKVPs)
           
 OWSException outputInvalidParameter(org.deegree.commons.tom.ows.CodeType outputParameterId, org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp)
           
 OWSException outputNoSuchParameter(org.deegree.commons.tom.ows.CodeType outputParameterId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionCustomizer

public DefaultExceptionCustomizer(org.deegree.commons.tom.ows.CodeType processId)
The default exception customizer

Parameters:
processId - of the process this exception customizer is used for.
Method Detail

missingParameter

public OWSException missingParameter(java.lang.String parameter)
Specified by:
missingParameter in interface ExceptionCustomizer

missingParameters

public OWSException missingParameters(java.lang.String... parameters)
Specified by:
missingParameters in interface ExceptionCustomizer

mutualExclusive

public OWSException mutualExclusive(java.lang.String parameter,
                                    java.lang.String excludes)
Specified by:
mutualExclusive in interface ExceptionCustomizer

inputMutualExclusive

public OWSException inputMutualExclusive(org.deegree.commons.tom.ows.CodeType identifier,
                                         java.lang.String parameter,
                                         java.lang.String excludes)
Specified by:
inputMutualExclusive in interface ExceptionCustomizer

inputNoSuchParameter

public OWSException inputNoSuchParameter(org.deegree.commons.tom.ows.CodeType identifier)
Specified by:
inputNoSuchParameter in interface ExceptionCustomizer

inputInvalidDatatype

public OWSException inputInvalidDatatype(org.deegree.commons.tom.ows.CodeType parameterId,
                                         java.lang.String foundDatatype,
                                         java.lang.String definedDataType)
Specified by:
inputInvalidDatatype in interface ExceptionCustomizer

inputInvalidParameter

public OWSException inputInvalidParameter(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                          org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp)
Specified by:
inputInvalidParameter in interface ExceptionCustomizer

inputInvalidBBoxCoordinates

public OWSException inputInvalidBBoxCoordinates(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                                java.lang.String[] suppliedCoordinates)
Specified by:
inputInvalidBBoxCoordinates in interface ExceptionCustomizer

inputEvalutationNotSupported

public OWSException inputEvalutationNotSupported(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                                 org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp,
                                                 java.lang.String explanation)
Specified by:
inputEvalutationNotSupported in interface ExceptionCustomizer

inputInvalidCombination

public OWSException inputInvalidCombination(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                            java.util.List<org.deegree.commons.utils.Pair<java.lang.String,java.lang.String>> conflictingKVPs)
Specified by:
inputInvalidCombination in interface ExceptionCustomizer

inputInvalidOccurence

public OWSException inputInvalidOccurence(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                          int minOccurs,
                                          int maxOccurs,
                                          int actualOccurs)
Specified by:
inputInvalidOccurence in interface ExceptionCustomizer

outputNoSuchParameter

public OWSException outputNoSuchParameter(org.deegree.commons.tom.ows.CodeType outputParameterId)
Specified by:
outputNoSuchParameter in interface ExceptionCustomizer

outputInvalidParameter

public OWSException outputInvalidParameter(org.deegree.commons.tom.ows.CodeType outputParameterId,
                                           org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp)
Specified by:
outputInvalidParameter in interface ExceptionCustomizer

outputInvalidCombination

public OWSException outputInvalidCombination(org.deegree.commons.tom.ows.CodeType outputParameterId,
                                             java.util.List<org.deegree.commons.utils.Pair<java.lang.String,java.lang.String>> conflictingKVPs)
Specified by:
outputInvalidCombination in interface ExceptionCustomizer

invalidAttributedParameter

public OWSException invalidAttributedParameter(org.deegree.commons.utils.Pair<java.lang.String,java.lang.String> kvp)
Specified by:
invalidAttributedParameter in interface ExceptionCustomizer

inputMissingParameter

public OWSException inputMissingParameter(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                          java.lang.String parameter)
Specified by:
inputMissingParameter in interface ExceptionCustomizer

inputMissingParameters

public OWSException inputMissingParameters(org.deegree.commons.tom.ows.CodeType inputParameterId,
                                           java.lang.String... parameters)
Specified by:
inputMissingParameters in interface ExceptionCustomizer


Copyright © 2011. All Rights Reserved.