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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
postprocess
(IntermediateModel intermediateModel) Apply the customization after the intermediate model is builtvoid
preprocess
(ServiceModel serviceModel) Apply the customization by directly modifying the service model, before the intermediate model is built.
-
Constructor Details
-
RemoveExceptionMessagePropertyProcessor
public RemoveExceptionMessagePropertyProcessor()
-
-
Method Details
-
preprocess
Description copied from interface:CodegenCustomizationProcessor
Apply the customization by directly modifying the service model, before the intermediate model is built.- Specified by:
preprocess
in interfaceCodegenCustomizationProcessor
-
postprocess
Description copied from interface:CodegenCustomizationProcessor
Apply the customization after the intermediate model is built- Specified by:
postprocess
in interfaceCodegenCustomizationProcessor
-