public void setStatus ( BounceProxyStatus status ) throws IllegalStateException { // this checks if the transition is valid if ( this . status . isValidTransition ( status ) ) { this . status = status ; } else { throw new IllegalStateException ( "Illegal status transition from " + this . status + " to " + status ) ; } }
Sets the status of the bounce proxy .