org.deegree.services.wps
Class DefaultExceptionCustomizer

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

public class DefaultExceptionCustomizer
extends Object
implements ExceptionCustomizer

The ExceptionCustomizerImpl class TODO add class documentation here.

Version:
$Revision: 31688 $, $Date: 2011-08-30 15:05:12 +0200 (Tue, 30 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Constructor Summary
DefaultExceptionCustomizer(CodeType processId)
          The default exception customizer
 
Method Summary
 OWSException inputEvalutationNotSupported(CodeType inputParameterId, Pair<String,String> kvp, String explanation)
           
 OWSException inputInvalidBBoxCoordinates(CodeType inputParameterId, String[] suppliedCoordinates)
           
 OWSException inputInvalidCombination(CodeType inputParameterId, List<Pair<String,String>> conflictingKVPs)
           
 OWSException inputInvalidDatatype(CodeType parameterId, String foundDatatype, String definedDataType)
           
 OWSException inputInvalidOccurrence(CodeType inputParameterId, int minOccurs, int maxOccurs, int actualOccurs)
           
 OWSException inputInvalidParameter(CodeType inputParameterId, Pair<String,String> kvp)
           
 OWSException inputMissingParameter(CodeType inputParameterId, String parameter)
           
 OWSException inputMissingParameters(CodeType inputParameterId, String... parameters)
           
 OWSException inputMutualExclusive(CodeType identifier, String parameter, String excludes)
           
 OWSException inputNoSuchParameter(CodeType identifier)
           
 OWSException invalidAttributedParameter(Pair<String,String> kvp)
           
 OWSException missingParameter(String parameter)
           
 OWSException missingParameters(String... parameters)
           
 OWSException mutualExclusive(String parameter, String excludes)
           
 OWSException outputInvalidCombination(CodeType outputParameterId, List<Pair<String,String>> conflictingKVPs)
           
 OWSException outputInvalidParameter(CodeType outputParameterId, Pair<String,String> kvp)
           
 OWSException outputNoSuchParameter(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(CodeType processId)
The default exception customizer

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

missingParameter

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

missingParameters

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

mutualExclusive

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

inputMutualExclusive

public OWSException inputMutualExclusive(CodeType identifier,
                                         String parameter,
                                         String excludes)
Specified by:
inputMutualExclusive in interface ExceptionCustomizer

inputNoSuchParameter

public OWSException inputNoSuchParameter(CodeType identifier)
Specified by:
inputNoSuchParameter in interface ExceptionCustomizer

inputInvalidDatatype

public OWSException inputInvalidDatatype(CodeType parameterId,
                                         String foundDatatype,
                                         String definedDataType)
Specified by:
inputInvalidDatatype in interface ExceptionCustomizer

inputInvalidParameter

public OWSException inputInvalidParameter(CodeType inputParameterId,
                                          Pair<String,String> kvp)
Specified by:
inputInvalidParameter in interface ExceptionCustomizer

inputInvalidBBoxCoordinates

public OWSException inputInvalidBBoxCoordinates(CodeType inputParameterId,
                                                String[] suppliedCoordinates)
Specified by:
inputInvalidBBoxCoordinates in interface ExceptionCustomizer

inputEvalutationNotSupported

public OWSException inputEvalutationNotSupported(CodeType inputParameterId,
                                                 Pair<String,String> kvp,
                                                 String explanation)
Specified by:
inputEvalutationNotSupported in interface ExceptionCustomizer

inputInvalidCombination

public OWSException inputInvalidCombination(CodeType inputParameterId,
                                            List<Pair<String,String>> conflictingKVPs)
Specified by:
inputInvalidCombination in interface ExceptionCustomizer

inputInvalidOccurrence

public OWSException inputInvalidOccurrence(CodeType inputParameterId,
                                           int minOccurs,
                                           int maxOccurs,
                                           int actualOccurs)
Specified by:
inputInvalidOccurrence in interface ExceptionCustomizer

outputNoSuchParameter

public OWSException outputNoSuchParameter(CodeType outputParameterId)
Specified by:
outputNoSuchParameter in interface ExceptionCustomizer

outputInvalidParameter

public OWSException outputInvalidParameter(CodeType outputParameterId,
                                           Pair<String,String> kvp)
Specified by:
outputInvalidParameter in interface ExceptionCustomizer

outputInvalidCombination

public OWSException outputInvalidCombination(CodeType outputParameterId,
                                             List<Pair<String,String>> conflictingKVPs)
Specified by:
outputInvalidCombination in interface ExceptionCustomizer

invalidAttributedParameter

public OWSException invalidAttributedParameter(Pair<String,String> kvp)
Specified by:
invalidAttributedParameter in interface ExceptionCustomizer

inputMissingParameter

public OWSException inputMissingParameter(CodeType inputParameterId,
                                          String parameter)
Specified by:
inputMissingParameter in interface ExceptionCustomizer

inputMissingParameters

public OWSException inputMissingParameters(CodeType inputParameterId,
                                           String... parameters)
Specified by:
inputMissingParameters in interface ExceptionCustomizer


Copyright © 2011. All Rights Reserved.