mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Remove deprecated method from FlowRunner
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123866995
This commit is contained in:
parent
c83a0c4d95
commit
07a89c8d05
1 changed files with 4 additions and 3 deletions
|
@ -15,7 +15,6 @@
|
|||
package google.registry.flows;
|
||||
|
||||
import static com.google.common.base.Throwables.getStackTraceAsString;
|
||||
import static com.google.common.base.Throwables.propagateIfInstanceOf;
|
||||
import static com.google.common.io.BaseEncoding.base64;
|
||||
import static google.registry.model.ofy.ObjectifyService.ofy;
|
||||
import static google.registry.xml.XmlTransformer.prettyPrint;
|
||||
|
@ -123,7 +122,9 @@ public class FlowRunner {
|
|||
} catch (RuntimeException e) {
|
||||
logger.warning("EPP_Mutation_Failed " + new JsonLogStatement(trid));
|
||||
logger.warning(getStackTraceAsString(e));
|
||||
propagateIfInstanceOf(e.getCause(), EppException.class);
|
||||
if (e.getCause() instanceof EppException) {
|
||||
throw (EppException) e.getCause();
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
@ -182,7 +183,7 @@ public class FlowRunner {
|
|||
}
|
||||
|
||||
/** Exception for canceling a transaction while capturing what the output would have been. */
|
||||
private class DryRunException extends RuntimeException {
|
||||
private static class DryRunException extends RuntimeException {
|
||||
final EppOutput output;
|
||||
|
||||
DryRunException(EppOutput output) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue