@@ -88,7 +88,7 @@ public enum OMSResponseStatus {
8888
8989 private String reasonPhrase ;
9090
91- private String reasonLocation ;
91+ private String more ;
9292
9393 private static final String refBase = "http://openmessaging.cloud/internal/code" ;
9494
@@ -97,27 +97,27 @@ public enum OMSResponseStatus {
9797
9898 this .reasonPhrase = reasonPhrase ;
9999
100- this .reasonLocation = generateReasonLocation (statusCode , reasonPhrase );
100+ this .more = generateReasonLocation (statusCode , reasonPhrase );
101101 }
102102
103103 public int getStatusCode () {
104104 return statusCode ;
105105 }
106106
107- public String getReasonLocation () {
108- return reasonLocation ;
107+ public String getMore () {
108+ return more ;
109109 }
110110
111111 public String getReasonPhrase () {
112112 return reasonPhrase ;
113113 }
114114
115115 public static OMSRuntimeException generateException (OMSResponseStatus status , String ... messageArgs ) {
116- return new OMSRuntimeException (status .getStatusCode (), String .format (status .getReasonLocation (), (Object []) messageArgs ));
116+ return new OMSRuntimeException (status .getStatusCode (), String .format (status .getMore (), (Object []) messageArgs ));
117117 }
118118
119119 public static OMSRuntimeException generateException (OMSResponseStatus status ) {
120- return new OMSRuntimeException (status .getStatusCode (), status .getReasonLocation ());
120+ return new OMSRuntimeException (status .getStatusCode (), status .getMore ());
121121 }
122122
123123 public static OMSRuntimeException generateException (int statusCode , String reasonPhrase ) {
0 commit comments