public void sendError ( int status ) throws IOException { if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { //306998.15 logger . logp ( Level . FINE , CLASS_NAME , "sendError" , "error --> " + String . valueOf ( status ) , "[" + this + "]" ) ; } Object [ ] args = { new Integer ( status ) } ; sendError ( status , MessageFormat . format ( nls . getString ( "Error.reported.{0}" , "Error reported: {0}" ) , args ) ) ; }
Sends an error response to the client using the specified status code and no default message .