001 package com.croftsoft.apps.chat.response; 002 003 import com.croftsoft.core.lang.NullArgumentException; 004 005 /********************************************************************* 006 * Indicates that the request type was unknown and therefore denied. 007 * 008 * @version 009 * 2003-06-10 010 * @since 011 * 2003-06-10 012 * @author 013 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 014 *********************************************************************/ 015 016 public final class UnknownRequestResponse 017 extends AbstractResponse 018 ////////////////////////////////////////////////////////////////////// 019 ////////////////////////////////////////////////////////////////////// 020 { 021 022 private static final long serialVersionUID = 0L; 023 024 // 025 026 private final Object request; 027 028 ////////////////////////////////////////////////////////////////////// 029 ////////////////////////////////////////////////////////////////////// 030 031 public UnknownRequestResponse ( Object request ) 032 ////////////////////////////////////////////////////////////////////// 033 { 034 super ( true ); 035 036 NullArgumentException.check ( this.request = request ); 037 } 038 039 ////////////////////////////////////////////////////////////////////// 040 ////////////////////////////////////////////////////////////////////// 041 042 public Object getRequest ( ) { return request; } 043 044 ////////////////////////////////////////////////////////////////////// 045 ////////////////////////////////////////////////////////////////////// 046 }