Class RemoveExceptionMessagePropertyProcessor
- java.lang.Object
-
- software.amazon.awssdk.codegen.customization.processors.RemoveExceptionMessagePropertyProcessor
-
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class RemoveExceptionMessagePropertyProcessor extends Object implements CodegenCustomizationProcessor
This processor removes the member *message* in the exception shapes from the intermediate model. Every exception class generated extends SdkException and the *message* member is inherited from that class.
-
-
Constructor Summary
Constructors Constructor Description RemoveExceptionMessagePropertyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostprocess(IntermediateModel intermediateModel)Apply the customization after the intermediate model is builtvoidpreprocess(ServiceModel serviceModel)Apply the customization by directly modifying the service model, before the intermediate model is built.
-
-
-
Method Detail
-
preprocess
public void preprocess(ServiceModel serviceModel)
Description copied from interface:CodegenCustomizationProcessorApply the customization by directly modifying the service model, before the intermediate model is built.- Specified by:
preprocessin interfaceCodegenCustomizationProcessor
-
postprocess
public void postprocess(IntermediateModel intermediateModel)
Description copied from interface:CodegenCustomizationProcessorApply the customization after the intermediate model is built- Specified by:
postprocessin interfaceCodegenCustomizationProcessor
-
-