Code example for ProtocolException

0
			case FILE_EXPLORE_REQUEST:
				return FileExploreRequestAction.parse(dis);
			case FILE_EXPLORE_RESPONSE:
				return FileExploreResponseAction.parse(dis);
			default: 
				throw new ProtocolException();
		} 
	} 
	 
	public abstract void toDataOutputStream(DataOutputStream dos) throws IOException;
} 
Experience pair programming with AI  Get Codota for Java