mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
HistoryEntry for extra logic; update fee check
While working on an implementation of TLD-specific logic, it was realized that the extra logic methods would need access to the flow's HistoryEntry, so that things like poll messages could be parented properly. Also, the update flow had not been fixed to perform the fee check. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132561527
This commit is contained in:
parent
95cc7ab3d8
commit
a63921350b
13 changed files with 129 additions and 21 deletions
|
@ -971,6 +971,13 @@ public class DomainFlowUtils {
|
|||
}
|
||||
}
|
||||
|
||||
/** Fees must be explicitly acknowledged when performing an update which is not free. */
|
||||
static class FeesRequiredForNonFreeUpdateException extends RequiredParameterMissingException {
|
||||
FeesRequiredForNonFreeUpdateException() {
|
||||
super("Fees must be explicitly acknowledged when performing an update which is not free.");
|
||||
}
|
||||
}
|
||||
|
||||
/** The 'grace-period', 'applied' and 'refundable' fields are disallowed by server policy. */
|
||||
static class UnsupportedFeeAttributeException extends UnimplementedOptionException {
|
||||
UnsupportedFeeAttributeException() {
|
||||
|
@ -1048,4 +1055,3 @@ public class DomainFlowUtils {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue