public void setReason ( String msg ) { if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { //306998.15 logger . logp ( Level . FINE , CLASS_NAME , "setReason" , " message --> " + msg , "[" + this + "]" ) ; } _response . setReason ( msg ) ; }
Sends an error response directly to the client using the specified status code and detail message .