mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 21:17:50 +02:00
This changes ResourceStatusProhibitsOperationException so that we print out the list of StatusValues using their XML names rather than the literal enum name, i.e. we use "pendingDelete" rather than "PENDING_DELETE". This seems more correct given that EPP clients will be used to seeing the status values in the XML representation, and it also matches the existing ResourceHasClientUpdateProhibitedException that hardcodes "clientUpdateProhibited": http://[]/third_party/java_src/gtld/java/google/registry/flows/exceptions/ResourceHasClientUpdateProhibitedException.java?l=22&rcl=146111211 Also reorganized related test methods and added some missing tests, including for ContactTransferRequestFlow which previously had none. I also renamed the "clientProhibitedStatusValue" tests to instead say "statusValueNotClientSettable" to be clearer about what's being tested, and that it's not related to the "clientXXProhibited" statuses. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150248562 |
||
---|---|---|
.. | ||
AlreadyPendingTransferException.java | ||
MissingTransferRequestAuthInfoException.java | ||
NotAuthorizedToViewTransferException.java | ||
NotPendingTransferException.java | ||
NoTransferHistoryToQueryException.java | ||
NotTransferInitiatorException.java | ||
ObjectAlreadySponsoredException.java | ||
OnlyToolCanPassMetadataException.java | ||
ResourceAlreadyExistsException.java | ||
ResourceHasClientUpdateProhibitedException.java | ||
ResourceStatusProhibitsOperationException.java | ||
ResourceToDeleteIsReferencedException.java | ||
TooManyResourceChecksException.java | ||
TransferPeriodMustBeOneYearException.java |